diff for duplicates of <51E7AE88.3050007@ti.com> diff --git a/a/1.txt b/N1/1.txt index c71d511..f45f333 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -134,7 +134,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (phy->init_count++ = 0 && phy->ops->init) { +>> + if (phy->init_count++ == 0 && phy->ops->init) { >> + ret = phy->ops->init(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy init failed --> %d\n", ret); @@ -157,7 +157,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (--phy->init_count = 0 && phy->ops->exit) { +>> + if (--phy->init_count == 0 && phy->ops->exit) { >> + ret = phy->ops->exit(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy exit failed --> %d\n", ret); @@ -180,7 +180,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (phy->power_count++ = 0 && phy->ops->power_on) { +>> + if (phy->power_count++ == 0 && phy->ops->power_on) { >> + ret = phy->ops->power_on(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy poweron failed --> %d\n", ret); @@ -199,7 +199,7 @@ ok >> + int ret = -ENOTSUPP; >> + >> + mutex_lock(&phy->mutex); ->> + if (--phy->power_count = 0 && phy->ops->power_off) { +>> + if (--phy->power_count == 0 && phy->ops->power_off) { >> + ret = phy->ops->power_off(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy poweroff failed --> %d\n", ret); diff --git a/a/content_digest b/N1/content_digest index 1d96d37..6d84f7e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,10 +1,31 @@ "ref\01374129984-765-1-git-send-email-kishon@ti.com\0" "ref\01374129984-765-2-git-send-email-kishon@ti.com\0" "ref\020130718072004.GA16720@kroah.com\0" - "From\0Kishon Vijay Abraham I <kishon@ti.com>\0" + "ref\020130718072004.GA16720-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org\0" + "From\0Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>\0" "Subject\0Re: [PATCH 01/15] drivers: phy: add generic PHY framework\0" - "Date\0Thu, 18 Jul 2013 09:11:52 +0000\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "Date\0Thu, 18 Jul 2013 14:29:52 +0530\0" + "To\0Greg KH <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>\0" + "Cc\0linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" + linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + nsekhar-l0cyMroinI0@public.gmane.org + s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org + kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org + swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org + jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org + grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org + linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + george.cherian-l0cyMroinI0@public.gmane.org + devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org + linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org + balajitk-l0cyMroinI0@public.gmane.org + linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + balbi-l0cyMroinI0@public.gmane.org + kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org + " akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org\0" "\00:1\0" "b\0" "Hi,\n" @@ -143,7 +164,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (phy->init_count++ = 0 && phy->ops->init) {\n" + ">> +\tif (phy->init_count++ == 0 && phy->ops->init) {\n" ">> +\t\tret = phy->ops->init(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy init failed --> %d\\n\", ret);\n" @@ -166,7 +187,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (--phy->init_count = 0 && phy->ops->exit) {\n" + ">> +\tif (--phy->init_count == 0 && phy->ops->exit) {\n" ">> +\t\tret = phy->ops->exit(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy exit failed --> %d\\n\", ret);\n" @@ -189,7 +210,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (phy->power_count++ = 0 && phy->ops->power_on) {\n" + ">> +\tif (phy->power_count++ == 0 && phy->ops->power_on) {\n" ">> +\t\tret = phy->ops->power_on(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy poweron failed --> %d\\n\", ret);\n" @@ -208,7 +229,7 @@ ">> +\tint ret = -ENOTSUPP;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (--phy->power_count = 0 && phy->ops->power_off) {\n" + ">> +\tif (--phy->power_count == 0 && phy->ops->power_off) {\n" ">> +\t\tret = phy->ops->power_off(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy poweroff failed --> %d\\n\", ret);\n" @@ -231,4 +252,4 @@ "Thanks\n" Kishon -070cdc995521b539dfef4dd0a21919a4d509b7f487b168b2f7d73cbab6ac3711 +0a51b76666bc7bb56b5ce5ce3a1e07ef29990059d321187439d60e2dfeedb411
diff --git a/a/1.txt b/N2/1.txt index c71d511..f45f333 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -134,7 +134,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (phy->init_count++ = 0 && phy->ops->init) { +>> + if (phy->init_count++ == 0 && phy->ops->init) { >> + ret = phy->ops->init(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy init failed --> %d\n", ret); @@ -157,7 +157,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (--phy->init_count = 0 && phy->ops->exit) { +>> + if (--phy->init_count == 0 && phy->ops->exit) { >> + ret = phy->ops->exit(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy exit failed --> %d\n", ret); @@ -180,7 +180,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (phy->power_count++ = 0 && phy->ops->power_on) { +>> + if (phy->power_count++ == 0 && phy->ops->power_on) { >> + ret = phy->ops->power_on(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy poweron failed --> %d\n", ret); @@ -199,7 +199,7 @@ ok >> + int ret = -ENOTSUPP; >> + >> + mutex_lock(&phy->mutex); ->> + if (--phy->power_count = 0 && phy->ops->power_off) { +>> + if (--phy->power_count == 0 && phy->ops->power_off) { >> + ret = phy->ops->power_off(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy poweroff failed --> %d\n", ret); diff --git a/a/content_digest b/N2/content_digest index 1d96d37..f2e9367 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,9 +1,9 @@ "ref\01374129984-765-1-git-send-email-kishon@ti.com\0" "ref\01374129984-765-2-git-send-email-kishon@ti.com\0" "ref\020130718072004.GA16720@kroah.com\0" - "From\0Kishon Vijay Abraham I <kishon@ti.com>\0" - "Subject\0Re: [PATCH 01/15] drivers: phy: add generic PHY framework\0" - "Date\0Thu, 18 Jul 2013 09:11:52 +0000\0" + "From\0kishon@ti.com (Kishon Vijay Abraham I)\0" + "Subject\0[PATCH 01/15] drivers: phy: add generic PHY framework\0" + "Date\0Thu, 18 Jul 2013 14:29:52 +0530\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -143,7 +143,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (phy->init_count++ = 0 && phy->ops->init) {\n" + ">> +\tif (phy->init_count++ == 0 && phy->ops->init) {\n" ">> +\t\tret = phy->ops->init(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy init failed --> %d\\n\", ret);\n" @@ -166,7 +166,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (--phy->init_count = 0 && phy->ops->exit) {\n" + ">> +\tif (--phy->init_count == 0 && phy->ops->exit) {\n" ">> +\t\tret = phy->ops->exit(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy exit failed --> %d\\n\", ret);\n" @@ -189,7 +189,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (phy->power_count++ = 0 && phy->ops->power_on) {\n" + ">> +\tif (phy->power_count++ == 0 && phy->ops->power_on) {\n" ">> +\t\tret = phy->ops->power_on(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy poweron failed --> %d\\n\", ret);\n" @@ -208,7 +208,7 @@ ">> +\tint ret = -ENOTSUPP;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (--phy->power_count = 0 && phy->ops->power_off) {\n" + ">> +\tif (--phy->power_count == 0 && phy->ops->power_off) {\n" ">> +\t\tret = phy->ops->power_off(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy poweroff failed --> %d\\n\", ret);\n" @@ -231,4 +231,4 @@ "Thanks\n" Kishon -070cdc995521b539dfef4dd0a21919a4d509b7f487b168b2f7d73cbab6ac3711 +6deb30c212f1c10081d36018f7a268eb24285ace2f5e1dba6ed7abd49f96e223
diff --git a/a/1.txt b/N3/1.txt index c71d511..f45f333 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -134,7 +134,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (phy->init_count++ = 0 && phy->ops->init) { +>> + if (phy->init_count++ == 0 && phy->ops->init) { >> + ret = phy->ops->init(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy init failed --> %d\n", ret); @@ -157,7 +157,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (--phy->init_count = 0 && phy->ops->exit) { +>> + if (--phy->init_count == 0 && phy->ops->exit) { >> + ret = phy->ops->exit(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy exit failed --> %d\n", ret); @@ -180,7 +180,7 @@ ok >> + return ret; >> + >> + mutex_lock(&phy->mutex); ->> + if (phy->power_count++ = 0 && phy->ops->power_on) { +>> + if (phy->power_count++ == 0 && phy->ops->power_on) { >> + ret = phy->ops->power_on(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy poweron failed --> %d\n", ret); @@ -199,7 +199,7 @@ ok >> + int ret = -ENOTSUPP; >> + >> + mutex_lock(&phy->mutex); ->> + if (--phy->power_count = 0 && phy->ops->power_off) { +>> + if (--phy->power_count == 0 && phy->ops->power_off) { >> + ret = phy->ops->power_off(phy); >> + if (ret < 0) { >> + dev_err(&phy->dev, "phy poweroff failed --> %d\n", ret); diff --git a/a/content_digest b/N3/content_digest index 1d96d37..0bd941f 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -3,8 +3,30 @@ "ref\020130718072004.GA16720@kroah.com\0" "From\0Kishon Vijay Abraham I <kishon@ti.com>\0" "Subject\0Re: [PATCH 01/15] drivers: phy: add generic PHY framework\0" - "Date\0Thu, 18 Jul 2013 09:11:52 +0000\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "Date\0Thu, 18 Jul 2013 14:29:52 +0530\0" + "To\0Greg KH <gregkh@linuxfoundation.org>\0" + "Cc\0<kyungmin.park@samsung.com>" + <balbi@ti.com> + <jg1.han@samsung.com> + <s.nawrocki@samsung.com> + <kgene.kim@samsung.com> + <grant.likely@linaro.org> + <tony@atomide.com> + <arnd@arndb.de> + <swarren@nvidia.com> + <devicetree-discuss@lists.ozlabs.org> + <linux-doc@vger.kernel.org> + <linux-kernel@vger.kernel.org> + <linux-arm-kernel@lists.infradead.org> + <linux-samsung-soc@vger.kernel.org> + <linux-omap@vger.kernel.org> + <linux-usb@vger.kernel.org> + <linux-media@vger.kernel.org> + <linux-fbdev@vger.kernel.org> + <akpm@linux-foundation.org> + <balajitk@ti.com> + <george.cherian@ti.com> + " <nsekhar@ti.com>\0" "\00:1\0" "b\0" "Hi,\n" @@ -143,7 +165,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (phy->init_count++ = 0 && phy->ops->init) {\n" + ">> +\tif (phy->init_count++ == 0 && phy->ops->init) {\n" ">> +\t\tret = phy->ops->init(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy init failed --> %d\\n\", ret);\n" @@ -166,7 +188,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (--phy->init_count = 0 && phy->ops->exit) {\n" + ">> +\tif (--phy->init_count == 0 && phy->ops->exit) {\n" ">> +\t\tret = phy->ops->exit(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy exit failed --> %d\\n\", ret);\n" @@ -189,7 +211,7 @@ ">> +\t\treturn ret;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (phy->power_count++ = 0 && phy->ops->power_on) {\n" + ">> +\tif (phy->power_count++ == 0 && phy->ops->power_on) {\n" ">> +\t\tret = phy->ops->power_on(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy poweron failed --> %d\\n\", ret);\n" @@ -208,7 +230,7 @@ ">> +\tint ret = -ENOTSUPP;\n" ">> +\n" ">> +\tmutex_lock(&phy->mutex);\n" - ">> +\tif (--phy->power_count = 0 && phy->ops->power_off) {\n" + ">> +\tif (--phy->power_count == 0 && phy->ops->power_off) {\n" ">> +\t\tret = phy->ops->power_off(phy);\n" ">> +\t\tif (ret < 0) {\n" ">> +\t\t\tdev_err(&phy->dev, \"phy poweroff failed --> %d\\n\", ret);\n" @@ -231,4 +253,4 @@ "Thanks\n" Kishon -070cdc995521b539dfef4dd0a21919a4d509b7f487b168b2f7d73cbab6ac3711 +a100c333972efbe1312c531d0c8d3d5d32f41cac3c02f0ca544e7a94228a4965
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.