ASoC: Intel: byt-max98090: Fix jack type in order to report correctly
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 23 Jun 2014 13:29:40 +0000 (16:29 +0300)
committerMark Brown <broonie@linaro.org>
Tue, 24 Jun 2014 15:20:43 +0000 (16:20 +0100)
commit24988992932612ba1c069ad597125dbce3e19621
treefc1ccde67c54f9e068eae7e6fe839505db3c3382
parent6a0cdccad87a7032440f204c04a599e4bcc8656b
ASoC: Intel: byt-max98090: Fix jack type in order to report correctly

Pass actual jack type bitmask to snd_soc_jack_new() in order to report
also microphone detections and not only headphone. While at it change also
jack name and pass also SND_JACK_LINEOUT type.

Reported-by: Jin Yao <yao.jin@intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/byt-max98090.c