summaryrefslogtreecommitdiffstats
path: root/tools/spi/spidev_test.c
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-03-09 00:18:54 +0100
committerMark Brown <broonie@kernel.org>2017-03-09 12:34:17 +0100
commitd6c098a1db468b7fd4635e831f276851dfd8852c (patch)
treeaf3ae09b6c0b16bb6bfcaeff38b3d4799cbe5629 /tools/spi/spidev_test.c
parentLinux 4.11-rc1 (diff)
downloadlinux-d6c098a1db468b7fd4635e831f276851dfd8852c.tar.xz
linux-d6c098a1db468b7fd4635e831f276851dfd8852c.zip
ASoC: don't dereference NULL pcm_{new,free}
Not all platform drivers have pcm_{new,free} callbacks. Seen with a "snd-soc-dummy" codec from sound/soc/rockchip/rk3399_gru_sound.c. Fixes: 99b04f4c4051 ("ASoC: add Component level pcm_new/pcm_free") Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/spi/spidev_test.c')
0 files changed, 0 insertions, 0 deletions