ASoC: Intel: cht_bsw_nau8824: Fix jack_type to include SND_JACK_MICROPHONE
authorHans de Goede <hdegoede@redhat.com>
Mon, 21 May 2018 12:42:51 +0000 (14:42 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 23 May 2018 08:37:57 +0000 (09:37 +0100)
commit5aff078ac81a3be58f7a2e2be0f33bc9ce062bac
treef98674eb99cd2c169bb6b098a66eeca9b286e33e
parentb18c6c3c7768b7b81c2250bbccd0c3c0aed6b71f
ASoC: Intel: cht_bsw_nau8824: Fix jack_type to include SND_JACK_MICROPHONE

The nau8824 codec can detect whether a headset or plain headphones is
inserted (as well as button presses on the headset) as such the jack_type
passed to snd_soc_card_jack_new() should include SND_JACK_MICROPHONE.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_nau8824.c