ASoC: simple-card: add new asoc_simple_jack and use it
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 31 May 2016 08:59:46 +0000 (08:59 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2016 18:12:30 +0000 (19:12 +0100)
commit9eac361877b3c96c8f68dffd7a7a3e92a2b85d0b
tree42a312c1c277698670996a4d1518005d96b86904
parent548563fa3e430ce61db79aa11331da6e5f535a3b
ASoC: simple-card: add new asoc_simple_jack and use it

Current simple-card supports snd_soc_jack/pin/gpio.
These code are very similar, but driver has verbosity code.
So, this patch adds new snd_soc_jack and cleanups code

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c