diff for duplicates of <517D7195.1020301@cogentembedded.com> diff --git a/a/1.txt b/N1/1.txt index acac5b6..9a5c818 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,7 +21,8 @@ On 25-04-2013 18:20, Guennadi Liakhovetski wrote: [...] >> Index: renesas/drivers/media/platform/soc_camera/rcar_vin.c ->> =================================>> --- /dev/null +>> =================================================================== +>> --- /dev/null >> +++ renesas/drivers/media/platform/soc_camera/rcar_vin.c >> @@ -0,0 +1,1784 @@ [...] @@ -296,11 +297,11 @@ as it's only supported on R-Car E1 IIRC. >> + while (priv->state != STOPPED) { >> + >> + /* issue stop if running */ ->> + if (priv->state = RUNNING) +>> + if (priv->state == RUNNING) >> + rcar_vin_request_capture_stop(priv); >> + >> + /* wait until capturing has been stopped */ ->> + if (priv->state = STOPPING) { +>> + if (priv->state == STOPPING) { >> + priv->request_to_stop = true; >> + spin_unlock_irqrestore(&priv->lock, flags); >> + wait_for_completion(&priv->capture_stop); @@ -395,7 +396,7 @@ as it's only supported on R-Car E1 IIRC. >> +{ >> + u16 scale; >> + ->> + if (src = *dst) +>> + if (src == *dst) >> + return 0; >> + >> + scale = (src * 4096 / *dst) & ~7; @@ -519,7 +520,7 @@ defer it to Vladimir. >> + int ret; >> + >> + ret = v4l2_subdev_call(sd, video, g_mbus_config, &cfg); ->> + if (ret = -ENOIOCTLCMD) +>> + if (ret == -ENOIOCTLCMD) >> + return 0; >> + else if (ret) >> + return ret; @@ -680,7 +681,7 @@ get the original mail from either gmane.org or mail-archive.org)? supported on R-Car E1 IIRC. [...] ->> + data_through = pixfmt = V4L2_PIX_FMT_RGB32; +>> + data_through = pixfmt == V4L2_PIX_FMT_RGB32; > What is "data_through" and why is RGB32 so special? diff --git a/a/content_digest b/N1/content_digest index 9e42a42..f00ee89 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\0Pine.LNX.4.64.1304201201370.10520@axis700.grange\0" "From\0Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\0" "Subject\0Re: [PATCH v2 1/4] V4L2: soc_camera: Renesas R-Car VIN driver\0" - "Date\0Sun, 28 Apr 2013 18:59:33 +0000\0" + "Date\0Sun, 28 Apr 2013 22:59:33 +0400\0" "To\0Guennadi Liakhovetski <g.liakhovetski@gmx.de>\0" "Cc\0mchehab@redhat.com" Linux Media Mailing List <linux-media@vger.kernel.org> @@ -36,7 +36,8 @@ "[...]\n" "\n" ">> Index: renesas/drivers/media/platform/soc_camera/rcar_vin.c\n" - ">> =================================>> --- /dev/null\n" + ">> ===================================================================\n" + ">> --- /dev/null\n" ">> +++ renesas/drivers/media/platform/soc_camera/rcar_vin.c\n" ">> @@ -0,0 +1,1784 @@\n" "[...]\n" @@ -311,11 +312,11 @@ ">> +\t\twhile (priv->state != STOPPED) {\n" ">> +\n" ">> +\t\t\t/* issue stop if running */\n" - ">> +\t\t\tif (priv->state = RUNNING)\n" + ">> +\t\t\tif (priv->state == RUNNING)\n" ">> +\t\t\t\trcar_vin_request_capture_stop(priv);\n" ">> +\n" ">> +\t\t\t/* wait until capturing has been stopped */\n" - ">> +\t\t\tif (priv->state = STOPPING) {\n" + ">> +\t\t\tif (priv->state == STOPPING) {\n" ">> +\t\t\t\tpriv->request_to_stop = true;\n" ">> +\t\t\t\tspin_unlock_irqrestore(&priv->lock, flags);\n" ">> +\t\t\t\twait_for_completion(&priv->capture_stop);\n" @@ -410,7 +411,7 @@ ">> +{\n" ">> +\tu16 scale;\n" ">> +\n" - ">> +\tif (src = *dst)\n" + ">> +\tif (src == *dst)\n" ">> +\t\treturn 0;\n" ">> +\n" ">> +\tscale = (src * 4096 / *dst) & ~7;\n" @@ -534,7 +535,7 @@ ">> +\tint ret;\n" ">> +\n" ">> +\tret = v4l2_subdev_call(sd, video, g_mbus_config, &cfg);\n" - ">> +\tif (ret = -ENOIOCTLCMD)\n" + ">> +\tif (ret == -ENOIOCTLCMD)\n" ">> +\t\treturn 0;\n" ">> +\telse if (ret)\n" ">> +\t\treturn ret;\n" @@ -695,7 +696,7 @@ "supported on R-Car E1 IIRC.\n" "\n" "[...]\n" - ">> +\tdata_through = pixfmt = V4L2_PIX_FMT_RGB32;\n" + ">> +\tdata_through = pixfmt == V4L2_PIX_FMT_RGB32;\n" "\n" "> What is \"data_through\" and why is RGB32 so special?\n" "\n" @@ -816,4 +817,4 @@ "\n" WBR, Sergei -1a90733c2048d783bce2945da87ab562de14e2219fbe074e4c9a78f13b0330f6 +5796669519e533f41bb57d8b771c05fa40f092c68f8944b49e331cf3afa473fa
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.