OpenCloudOS-Kernel/sound/soc/zte
Krzysztof Kozlowski 2dfbe9afcd ASoC: zx: spdif: Fix devm_ioremap_resource return value check
Value returned by devm_ioremap_resource() was checked for non-NULL but
devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
error this could lead to dereference of ERR_PTR.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Reviewed-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-07-13 12:16:33 +01:00
..
Kconfig ASoC: zx: Add ZTE zx296702 I2S DAI driver 2015-06-04 13:05:07 +01:00
Makefile ASoC: zx: Add ZTE zx296702 I2S DAI driver 2015-06-04 13:05:07 +01:00
zx296702-i2s.c ASoC: zx: i2s: Fix devm_ioremap_resource return value check 2015-07-13 12:16:29 +01:00
zx296702-spdif.c ASoC: zx: spdif: Fix devm_ioremap_resource return value check 2015-07-13 12:16:33 +01:00