diff for duplicates of <1455556.zPv2GVB7PN@avalon> diff --git a/a/1.txt b/N1/1.txt index ff8574f..a37d198 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -41,7 +41,7 @@ On Tuesday 13 November 2012 01:37:51 Sakari Ailus wrote: > > > > > > + > > > > > > +int v4l2_clk_enable(struct v4l2_clk *clk) > > > > > > +{ -> > > > > > + if (atomic_inc_return(&clk->enable) = 1 && clk->ops->enable) { +> > > > > > + if (atomic_inc_return(&clk->enable) == 1 && clk->ops->enable) { > > > > > > + int ret = clk->ops->enable(clk); > > > > > > + if (ret < 0) > > > > > > + atomic_dec(&clk->enable); diff --git a/a/content_digest b/N1/content_digest index 9bb7a71..936aa99 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020121112233750.GQ25623@valkosipuli.retiisi.org.uk\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH v2] media: V4L2: add temporary clock helpers\0" - "Date\0Wed, 14 Nov 2012 13:06:07 +0000\0" + "Date\0Wed, 14 Nov 2012 14:06:07 +0100\0" "To\0Sakari Ailus <sakari.ailus@iki.fi>\0" "Cc\0Guennadi Liakhovetski <g.liakhovetski@gmx.de>" Linux Media Mailing List <linux-media@vger.kernel.org> @@ -57,7 +57,7 @@ "> > > > > > +\n" "> > > > > > +int v4l2_clk_enable(struct v4l2_clk *clk)\n" "> > > > > > +{\n" - "> > > > > > +\tif (atomic_inc_return(&clk->enable) = 1 && clk->ops->enable) {\n" + "> > > > > > +\tif (atomic_inc_return(&clk->enable) == 1 && clk->ops->enable) {\n" "> > > > > > +\t\tint ret = clk->ops->enable(clk);\n" "> > > > > > +\t\tif (ret < 0)\n" "> > > > > > +\t\t\tatomic_dec(&clk->enable);\n" @@ -100,4 +100,4 @@ "\n" Laurent Pinchart -59af239a5b6629d62d4624db1269825344a05bb50cbc76966deb42a4d3899af0 +8b5a7a7774a184131571de28461d93b50714ec0d01792d2792d25e54000b0feb
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.