commit | aed859a2c7ac8c44ba9b3a6f82b5f08da8a0a975 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Mar 04 15:36:01 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Mar 07 14:18:09 2018 +0000 |
tree | 3d3531a417137ff8a47a73a9efc10132fb7d08fc | |
parent | c2f26938d2a456dcf429385617e58cfd510a64a8 [diff] |
ASoC: Intel: bytcr_rt5651: Only create jack if we have a jack-detect source Only create the jack if we have a valid jack-detect source and properly check the snd_soc_component_set_jack() return value. Tested-by: Carlo Caione <carlo@endlessm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>