]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: simple-card: add "invert" property for detect GPIOs
authorJianqun <jay.xu@rock-chips.com>
Sat, 1 Nov 2014 03:22:18 +0000 (11:22 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 3 Nov 2014 12:26:15 +0000 (12:26 +0000)
commit4476159f0b73e58e8c4d750ce03843d70c13994c
treef0bbe369961d495d67b60a062f17d02ce2b27ae5
parent1b5721b24306c2daf786f3b31f678b40ab9b2ce7
ASoC: simple-card: add "invert" property for detect GPIOs

Since hardware may invert detect GPIO of headphone or mic, add one
property to support software invert.

Signed-off-by: Jianqun <jay.xu@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c