22 Mar
2013
22 Mar
'13
3:08 p.m.
On Fri, Mar 22, 2013 at 4:33 AM, Martin Fuzzey mfuzzey@parkeon.com wrote:
diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c index 424347e..71ce1f6 100644 --- a/sound/soc/fsl/imx-sgtl5000.c +++ b/sound/soc/fsl/imx-sgtl5000.c @@ -128,18 +128,30 @@ static int imx_sgtl5000_probe(struct platform_device *pdev) goto fail; }
ret = of_property_read_u32(codec_np, "clock-frequency",
&data->clk_frequency);
I just noticed that you assign 'ret' here, but you never check the value. So I think you should either:
1) Check the value of 'ret' 2) Remove the "ret = "