ASoC: simple-card: fix mic jack initialization
authorStefan Agner <stefan@agner.ch>
Mon, 15 May 2017 21:00:31 +0000 (14:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:02 +0000 (19:48 +0200)
commit581ec36f26ad69b70ec3ed4ee552bd38b961d917
treebab7f07e5448cd748885309c397b42ab131a1eb1
parentc4c3203761117c041bb457d05201935131e351f1
ASoC: simple-card: fix mic jack initialization

[ Upstream commit f746aa5e8636c83e53bbb2d988bb614f732b2b80 ]

Initialize asoc_simple_card_init_mic with the correct struct
asoc_simple_jack.

Fixes: 9eac361877b3 ("ASoC: simple-card: add new asoc_simple_jack and use it")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/generic/simple-card.c