ASoC: rockchip-max98090: Fix jack detection and event reporting.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 9 May 2016 10:46:33 +0000 (12:46 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:19:41 +0000 (16:19 +0100)
commit9211009306826637942c6be0fd64198aaddfd32d
tree7fee25a6e54b5aa95bd15fac80455fba45382858
parentec0d23b295b901cdfd60e9b8a65ce208acf53067
ASoC: rockchip-max98090: Fix jack detection and event reporting.

Physically there is a jackset which includes a Headphone and a Jackset
Mic pin. The patch add thw two pins with the correct pin name so the
DAPM management can find the pin and make the jack detection and event
reporting work again.

The patch also shut up the following error:

 rockchip-snd-max98090 sound: ASoC: DAPM unknown pin Headset Jack

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_max98090.c