summaryrefslogtreecommitdiff
path: root/sound/soc/dwc/designware_i2s.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-10-25 09:06:24 (GMT)
committerMark Brown <broonie@linaro.org>2013-10-25 09:25:51 (GMT)
commit29ca9c73e54131c9ad90c5381f368d9b09b5aca4 (patch)
tree4e6603438a6cb37fbf5edec3e53714ece60c3c26 /sound/soc/dwc/designware_i2s.c
parentde0022d4bf3a5acaef75cf1c7c2f8d71b020e8c9 (diff)
downloadlinux-fsl-qoriq-29ca9c73e54131c9ad90c5381f368d9b09b5aca4.tar.xz
ASoC: samsung: fix return value check in i2s_alloc_dai()
In case of error, the function platform_device_alloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/dwc/designware_i2s.c')
0 files changed, 0 insertions, 0 deletions