Commit 2def8306 authored by John Hsu's avatar John Hsu Committed by chrome-bot
Browse files

UPSTREAM: 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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJohn Hsu <KCHSU0@nuvoton.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
(cherry picked from commit 3bf045d1)
Signed-off-by: default avatarSamaga Prasanna Krishna <samaga.krishna@intel.corp-partner.google.com>

BUG=b:110025789
TEST=Test Audio use cases with full SOF 0.6 rebase release series applied.

Change-Id: Id3295bb3bb5d66d3161418adda87de076a6efc74
Reviewed-on: https://chromium-review.googlesource.com/1353450


Commit-Ready: Curtis Malainey <cujomalainey@chromium.org>
Tested-by: default avatarCurtis Malainey <cujomalainey@chromium.org>
Reviewed-by: default avatarCurtis Malainey <cujomalainey@chromium.org>
parent 72bb0d6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment