diff for duplicates of <51FAE1B3.3020603@gmail.com> diff --git a/a/1.txt b/N1/1.txt index e5bffa0..3d3773c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -26,10 +26,10 @@ On 08/01/2013 12:03 AM, Laurent Pinchart wrote: >>> + pipe->state = VSP1_PIPELINE_STOPPING; >>> + spin_unlock_irqrestore(&pipe->irqlock, flags); >>> + ->>> + ret = wait_event_timeout(pipe->wq, pipe->state = +>>> + ret = wait_event_timeout(pipe->wq, pipe->state == >>> VSP1_PIPELINE_STOPPED, >>> + msecs_to_jiffies(500)); ->>> + ret = ret = 0 ? -ETIMEDOUT : 0; +>>> + ret = ret == 0 ? -ETIMEDOUT : 0; >> >> Wouldn't be -ETIME more appropriate ? >> diff --git a/a/content_digest b/N1/content_digest index 12c581b..f981c13 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\02229675.vM0yYbEmYz@avalon\0" "From\0Sylwester Nawrocki <sylvester.nawrocki@gmail.com>\0" "Subject\0Re: [PATCH v4 5/7] v4l: Renesas R-Car VSP1 driver\0" - "Date\0Thu, 01 Aug 2013 22:31:15 +0000\0" + "Date\0Fri, 02 Aug 2013 00:31:15 +0200\0" "To\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Cc\0Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>" linux-media@vger.kernel.org @@ -42,10 +42,10 @@ ">>> +\tpipe->state = VSP1_PIPELINE_STOPPING;\n" ">>> +\tspin_unlock_irqrestore(&pipe->irqlock, flags);\n" ">>> +\n" - ">>> +\tret = wait_event_timeout(pipe->wq, pipe->state =\n" + ">>> +\tret = wait_event_timeout(pipe->wq, pipe->state ==\n" ">>> VSP1_PIPELINE_STOPPED,\n" ">>> +\t\t\t\t msecs_to_jiffies(500));\n" - ">>> +\tret = ret = 0 ? -ETIMEDOUT : 0;\n" + ">>> +\tret = ret == 0 ? -ETIMEDOUT : 0;\n" ">>\n" ">> Wouldn't be -ETIME more appropriate ?\n" ">>\n" @@ -214,4 +214,4 @@ "Regards,\n" Sylwester -ba7c791ab8b12b96faad29bd670ae6d26a901da4977e519596310b0a461b8798 +6d2e640566b032649f8917d0b105710a9cc0853f838e925f16f4c06cec0de39f
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.