diff for duplicates of <20081219063441.2703.27320.sendpatchset@rx1.opensource.se> diff --git a/a/1.txt b/N1/1.txt index ea6bf18..f1ecedf 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -116,7 +116,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp> + +static void sh_mobile_lcdc_clk_off(struct sh_mobile_lcdc_priv *priv) +{ -+ if (atomic_sub_return(1, &priv->clk_usecnt) == -1) { ++ if (atomic_sub_return(1, &priv->clk_usecnt) = -1) { + if (priv->dot_clk) + clk_disable(priv->dot_clk); + clk_disable(priv->clk); @@ -315,7 +315,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp> } res = platform_get_resource(pdev, IORESOURCE_MEM, 0); -- if (res == NULL) { +- if (res = NULL) { - dev_err(&pdev->dev, "cannot find IO resource\n"); + i = platform_get_irq(pdev, 0); + if (!res || i < 0) { diff --git a/a/content_digest b/N1/content_digest index da0939a..27a0ae3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020081219063359.2703.85817.sendpatchset@rx1.opensource.se\0" "From\0Magnus Damm <magnus.damm@gmail.com>\0" "Subject\0[PATCH 04/05] video: sh_mobile_lcdcfb deferred io support\0" - "Date\0Fri, 19 Dec 2008 15:34:41 +0900\0" + "Date\0Fri, 19 Dec 2008 06:34:41 +0000\0" "To\0linux-fbdev-devel@lists.sourceforge.net\0" "Cc\0Magnus Damm <magnus.damm@gmail.com>" lethal@linux-sh.org @@ -127,7 +127,7 @@ "+\n" "+static void sh_mobile_lcdc_clk_off(struct sh_mobile_lcdc_priv *priv)\n" "+{\n" - "+\tif (atomic_sub_return(1, &priv->clk_usecnt) == -1) {\n" + "+\tif (atomic_sub_return(1, &priv->clk_usecnt) = -1) {\n" "+\t\tif (priv->dot_clk)\n" "+\t\t\tclk_disable(priv->dot_clk);\n" "+\t\tclk_disable(priv->clk);\n" @@ -326,7 +326,7 @@ " \t}\n" " \n" " \tres = platform_get_resource(pdev, IORESOURCE_MEM, 0);\n" - "-\tif (res == NULL) {\n" + "-\tif (res = NULL) {\n" "-\t\tdev_err(&pdev->dev, \"cannot find IO resource\\n\");\n" "+\ti = platform_get_irq(pdev, 0);\n" "+\tif (!res || i < 0) {\n" @@ -388,4 +388,4 @@ " \n" struct sh_mobile_lcdc_sys_bus_ops { -ce5ec06e043801cf0ce31c9d2ba2b326b65f721cbdbc9af34f0bef25c4889caa +54d7e7b0f7769309f556e3543a4629775329621bfbd02fb79b9b273943cf4a35
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.