ASoC: Intel: fix argument error in nau8824 machine
Fix the error: passing argument 1 of 'nau8824_enable_jack_detect'
from incompatible pointer type
nau8824_enable_jack_detect(codec, jack);
^~~~~
Which expects 'struct snd_soc_component *' but argument is of type
'struct snd_soc_codec *'
Reported-by:
Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by:
John Hsu <KCHSU0@nuvoton.com>
Signed-off-by:
Mark Brown <broonie@kernel.org>
Loading
Please sign in to comment