]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: rt5645: Adds push button support for rt5650
authorBard Liao <bardliao@realtek.com>
Tue, 28 Apr 2015 01:59:43 +0000 (09:59 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Apr 2015 11:18:52 +0000 (12:18 +0100)
commit6e747d5311fc67b5fe7e2d7d242329c1bdff3318
tree7c4c6c346c773ed6cf2d72a72f643d53e075f7eb
parentc0d44e59c2bedf81e620f5eb31eb9d4dc6219ad2
ASoC: rt5645: Adds push button support for rt5650

rt5650 support headset button detection. Currently, the button detection
is only implemented for rt5650 codec. The button detection configuration
register's default value is different from rt5645.
And we didn't touch the register in the driver, so we will get the wrong
value when we dump the registers. We will fix it in another patch.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.h
sound/soc/intel/boards/cht_bsw_rt5645.c