summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/pwm
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2024-01-11 11:52:26 +0100
committerMark Brown <broonie@kernel.org>2024-01-11 15:42:09 +0000
commite3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed (patch)
tree9c3f104d7f8848c71aa592590feccd353ca41fc1 /include/dt-bindings/pwm
parente70b8dd26711704b1ff1f1b4eb3d048ba69e29da (diff)
downloadlinux-stable-e3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed.tar.gz
linux-stable-e3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed.tar.bz2
linux-stable-e3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed.zip
ASoC: mediatek: sof-common: Add NULL check for normal_link string
It's not granted that all entries of struct sof_conn_stream declare a `normal_link` (a non-SOF, direct link) string, and this is the case for SoCs that support only SOF paths (hence do not support both direct and SOF usecases). For example, in the case of MT8188 there is no normal_link string in any of the sof_conn_stream entries and there will be more drivers doing that in the future. To avoid possible NULL pointer KPs, add a NULL check for `normal_link`. Fixes: 0caf1120c583 ("ASoC: mediatek: mt8195: extract SOF common code") Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://msgid.link/r/20240111105226.117603-1-angelogioacchino.delregno@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings/pwm')
0 files changed, 0 insertions, 0 deletions