Message ID | 1462435421-21205-6-git-send-email-enric.balletbo@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, May 05, 2016 at 10:03:39AM +0200, Enric Balletbo i Serra wrote: > The patch fixes the following error message. > > rockchip-snd-max98090 sound: ASoC: DAPM unknown pin Headset Jack > { > - .pin = "Headset Jack", > + .pin = "Headphone", ...and makes automatic DAPM management of the headphone jack work. Again, it's not just shutting up warnings it's fixing an actual bug.
diff --git a/sound/soc/rockchip/rockchip_max98090.c b/sound/soc/rockchip/rockchip_max98090.c index 3da7891..40d2ec9 100644 --- a/sound/soc/rockchip/rockchip_max98090.c +++ b/sound/soc/rockchip/rockchip_max98090.c @@ -36,7 +36,7 @@ static struct snd_soc_jack headset_jack; static struct snd_soc_jack_pin headset_jack_pins[] = { { - .pin = "Headset Jack", + .pin = "Headphone", .mask = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2 | SND_JACK_BTN_3,
The patch fixes the following error message. rockchip-snd-max98090 sound: ASoC: DAPM unknown pin Headset Jack Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> --- sound/soc/rockchip/rockchip_max98090.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)