[alsa-devel] [PATCH] ASoC: tfa9879: Fix return value check in tfa9879_i2c_probe()

Peter Rosin peda at axentia.se
Thu Apr 16 15:08:11 CEST 2015


Wei Yongjun wrote:
> In case of error, the function devm_kzalloc() returns NULL not ERR_PTR().
> The IS_ERR() test in the return value check should be replaced with NULL
> test.

Acked-by: Peter Rosin <peda at axentia.se>

Thanks,
Peter



More information about the Alsa-devel mailing list