[PATCH 4/5] media: ov2640: add a master clock for sensor

Fabio Estevam festevam at gmail.com
Mon Dec 8 07:10:39 PST 2014


On Mon, Dec 8, 2014 at 9:29 AM, Josh Wu <josh.wu at atmel.com> wrote:

> +       priv->master_clk = devm_clk_get(&client->dev, "xvclk");
> +       if (IS_ERR(priv->master_clk))
> +               return -EINVAL;

You should return PTR_ERR(priv->master_clk) instead.



More information about the linux-arm-kernel mailing list