diff for duplicates of <27021466.BkUbn5OdDG@avalon> diff --git a/a/1.txt b/N1/1.txt index 895405b..4c6d83d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -73,7 +73,7 @@ And clk_disable_unprepare() here ? > - priv->clk = v4l2_clk_get(&client->dev, "mclk"); > - if (IS_ERR(priv->clk)) > + priv->clk = clk_get(&client->dev, "mclk"); -> + if (PTR_ERR(priv->clk) == -ENOENT) { +> + if (PTR_ERR(priv->clk) = -ENOENT) { > + priv->clk = NULL; > + } else if (IS_ERR(priv->clk)) { > + dev_err(&client->dev, "Unable to get mclk clock\n"); diff --git a/a/content_digest b/N1/content_digest index 7995c56..259cfd6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01510743363-25798-11-git-send-email-jacopo+renesas@jmondi.org\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH v1 10/10] media: i2c: tw9910: Remove soc_camera dependencies\0" - "Date\0Mon, 11 Dec 2017 16:55:04 +0200\0" + "Date\0Mon, 11 Dec 2017 14:55:04 +0000\0" "To\0Jacopo Mondi <jacopo+renesas@jmondi.org>\0" "Cc\0magnus.damm@gmail.com" geert@glider.be @@ -89,7 +89,7 @@ "> -\tpriv->clk = v4l2_clk_get(&client->dev, \"mclk\");\n" "> -\tif (IS_ERR(priv->clk))\n" "> +\tpriv->clk = clk_get(&client->dev, \"mclk\");\n" - "> +\tif (PTR_ERR(priv->clk) == -ENOENT) {\n" + "> +\tif (PTR_ERR(priv->clk) = -ENOENT) {\n" "> +\t\tpriv->clk = NULL;\n" "> +\t} else if (IS_ERR(priv->clk)) {\n" "> +\t\tdev_err(&client->dev, \"Unable to get mclk clock\\n\");\n" @@ -164,4 +164,4 @@ "\n" Laurent Pinchart -426aafd4da328b8f6fd7172ea7e5f3c7307aa6612a00d61b38aafe0598ec46ca +07821d827eea5870b02408a594b08b7d1087bf9df9f426806fb14854bb0eccd0
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.