summaryrefslogtreecommitdiff
path: root/tools/scripts
diff options
context:
space:
mode:
authorOndrej Jirman <megi@xff.cz>2024-03-27 11:05:34 +0300
committerMark Brown <broonie@kernel.org>2024-03-27 18:57:34 +0300
commit559aebe45a054a479fdbd2a3dfba999ffd73cc9d (patch)
tree75bfd97060b2acc3ef09f80478cf6830b3496434 /tools/scripts
parentcc983803081aa6a1a5ed9375cb7d01cd5c1da570 (diff)
downloadlinux-559aebe45a054a479fdbd2a3dfba999ffd73cc9d.tar.xz
ASoC: sun8i-codec: Fix build with CONFIG_SND_JACK_INPUT_DEV disabled
When CONFIG_SND_JACK_INPUT_DEV is disabled, struct snd_jack doesn't have 'type' field. We can't rely on this field being always present, so store the jack_type in the codec driver itself. Signed-off-by: Ondrej Jirman <megi@xff.cz> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202403261243.kcXCPAYs-lkp@intel.com/ Link: https://msgid.link/r/20240327080542.3649840-1-megi@xff.cz Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions