Searched hist:"7 d267ddf" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/sti/ |
H A D | uniperif_player.c | 7d267ddf Mon Jun 13 09:39:57 CDT 2016 Wei Yongjun <yongjun_wei@trendmicro.com.cn> ASoC: sti: fix return value check in uni_player_parse_dt_audio_glue()
In case of error, the function syscon_regmap_lookup_by_phandle() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@kernel.org> 7d267ddf Mon Jun 13 09:39:57 CDT 2016 Wei Yongjun <yongjun_wei@trendmicro.com.cn> ASoC: sti: fix return value check in uni_player_parse_dt_audio_glue() In case of error, the function syscon_regmap_lookup_by_phandle() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@kernel.org>
|