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)
commitc472b93990e02c31f02322ddf0fdd9d571169310
tree18fb840cb3f42e5be3d5a638c5d4d9674a252f53
parentc517d838eb7d07bbe9507871fab3931deccff539
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