summaryrefslogtreecommitdiff
path: root/oui.h
diff options
context:
space:
mode:
Diffstat (limited to 'oui.h')
0 files changed, 0 insertions, 0 deletions
a href='/cgit.cgi/linux/net-next.git/diff/?id=548563fa3e430ce61db79aa11331da6e5f535a3b'>Diffstat16f12062eeec707&id2=1001354ca34179f3db924eb66672442a173147dc'>diff)
ASoC: hdmi-codec: Fix hdmi_of_xlate_dai_name when #sound-dai-cells = <0>
If a DAI specifies "#sound-dai-cells = <0>" in device-tree then hdmi_of_xlate_dai_name() will be called with zero args, which it isn't implemented to cope with. The resulting use of an uninitialised variable for the id will usually result in an error like: asoc-simple-card sound: parse error -11 asoc-simple-card: probe of sound failed with error -11 Fix this by using and id of zero if no arg is provided. Fixes: 9731f82d6016 ("ASoC: hdmi-codec: enable multi probe for same device") Signed-off-by: Jon Medhurst <tixy@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')