]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sn95031: Pass CODEC to sn95031_jack_detection()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 4 Mar 2015 09:33:16 +0000 (10:33 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 4 Mar 2015 17:09:51 +0000 (17:09 +0000)
commit15b2ffbb41489540169695cd23b8204bb3be25ce
tree18fb840cb3f42e5be3d5a638c5d4d9674a252f53
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
ASoC: sn95031: Pass CODEC to sn95031_jack_detection()

The sn95031 driver currently gets the CODEC implicitly from the jack that is
passed to sn95031_jack_detection(). But the codec field is going to be
removed from the snd_soc_jack struct, so refactor things to pass the CODEC
explicitly.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sn95031.c
sound/soc/codecs/sn95031.h
sound/soc/intel/mfld_machine.c