]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - sound/soc/samsung/s3c24xx-i2s.c
ASoC: samsung: Fix checking return value of clk_get
authorAxel Lin <axel.lin@gmail.com>
Thu, 15 Sep 2011 02:36:54 +0000 (10:36 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 15 Sep 2011 23:05:57 +0000 (00:05 +0100)
commit7803e329bb8357afe94e8e5c3f78478d6a98d1b5
treec3be080ef81f37e6a19dc636c90a443453dc7a3a
parent5e538ecade22a5ec4c8e18d494db0ecf924254eb
ASoC: samsung: Fix checking return value of clk_get

clk_get() returns a pointer to the struct clk or an ERR_PTR().
This patch also use PTR_ERR() for return value.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/s3c2412-i2s.c
sound/soc/samsung/s3c24xx-i2s.c
sound/soc/samsung/s3c24xx_uda134x.c