OSDN Git Service

ASoC: rt5645: fix wrong mask for button report
authorBard Liao <bardliao@realtek.com>
Thu, 30 Apr 2015 10:18:46 +0000 (18:18 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 1 May 2015 16:33:47 +0000 (17:33 +0100)
commite0b5d90669139cd3e7c2592ac2eff47c57318e94
tree94c6ee1f4b629cbf4e7f012825ac8d6c12d27598
parentd5660422cac455346e35631654c99187cf53f088
ASoC: rt5645: fix wrong mask for button report

rt5645->btn_jack is for jack button report. So the mask should be
SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2 | SND_JACK_BTN_3.

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