1
linux/sound/soc/tegra
Stephen Warren 422650e65a ASoC: tegra: s/IS_ERR_OR_NULL/IS_ERR/ for clk_get_sys
A recent discussion on linux-arm-kernel noted that the value returned by
clk_get_sys is an opaque token, and not strictly a pointer; it is
meaningful only to the clock API, clients should not dereference the value,
and the clock API must accept any non-IS_ERR value it returned.

Hence, only IS_ERR is appropriate to interpret the result, not
IS_ERR_OR_NULL.

I checked that clk_get_sys in both ASoC's for-next and Tegra's for-next
do behave as described; NULL is not returned in the case of error.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-01-13 14:18:03 +00:00
..
harmony.c ASoC: tegra: Harmony machine support 2011-01-10 22:20:58 +00:00
Kconfig ASoC: tegra: Kconfig and Makefile 2011-01-10 22:21:09 +00:00
Makefile ASoC: tegra: Kconfig and Makefile 2011-01-10 22:21:09 +00:00
tegra_asoc_utils.c ASoC: tegra: s/IS_ERR_OR_NULL/IS_ERR/ for clk_get_sys 2011-01-13 14:18:03 +00:00
tegra_asoc_utils.h ASoC: tegra: Machine utility code 2011-01-10 22:20:47 +00:00
tegra_das.c ASoC: Update name of debugfs root symbol to snd_soc_ 2011-01-10 22:25:21 +00:00
tegra_das.h
tegra_i2s.c ASoC: tegra: s/IS_ERR_OR_NULL/IS_ERR/ for clk_get_sys 2011-01-13 14:18:03 +00:00
tegra_i2s.h ASoC: tegra: Add tegra-i2s driver 2011-01-10 22:20:39 +00:00
tegra_pcm.c
tegra_pcm.h