耳机接电话挂断功能

检测部分:对比两个宏:

CONFIG_ACCDET_EINT=y
# CONFIG_ACCDET_EINT_IRQ is not set

 在kernel-3.18/drivers/misc/mediatek/accdet/Kconfig:

config ACCDET_EINT
    tristate "MediaTek ACCDET driver"
    ---help---

      ACCDET EINT support for MediaTek SOC

      If you want to use MediaTek ACCDET EINT from PMIC ACCDET itself,
      say Y or M here.

      If unsure, say N.

config ACCDET_EINT_IRQ
    tristate "MediaTek ACCDET driver"
    ---help---

      ACCDET EINT support for MediaTek SOC

      If you want to use MediaTek ACCDET EINT from AP GPIO,
      say Y or M here.

      If unsure, say N.

 

 

 

 

 

 

 

 

 

----------------

posted @ 2016-03-25 10:56  瘋耔  阅读(550)  评论(0编辑  收藏  举报
跳至侧栏