diff for duplicates of <4DECCE90.6070201@ti.com> diff --git a/a/1.txt b/N1/1.txt index 905b93e..aac3277 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -31,7 +31,7 @@ On 6/4/2011 10:01 AM, Valkeinen, Tomi wrote: >>> >>> Yes, the counter. I don't think >>> ->>> if (dispc.runtime_count++ = 0) +>>> if (dispc.runtime_count++ == 0) >>> >>> is thread safe. >> @@ -43,7 +43,7 @@ On 6/4/2011 10:01 AM, Valkeinen, Tomi wrote: > do "put" before the whole "get" has finished. Otherwise we could end up, > for example, disabling a clock before enabling it. > ->>>>> + if (dispc.runtime_count++ = 0) { +>>>>> + if (dispc.runtime_count++ == 0) { >>>> >>>> You shouldn't need your own use-counting here. The runtime PM core is >>>> already doing usage counting. diff --git a/a/content_digest b/N1/content_digest index 8b2e4d3..7776a84 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\01307174504.1777.24.camel@lappyti\0" "From\0Cousson, Benoit <b-cousson@ti.com>\0" "Subject\0Re: [PATCH 19/27] OMAP: DSS2: Use PM runtime & HWMOD support\0" - "Date\0Mon, 06 Jun 2011 12:56:48 +0000\0" + "Date\0Mon, 6 Jun 2011 14:56:48 +0200\0" "To\0Valkeinen" " Tomi <tomi.valkeinen@ti.com>\0" "Cc\0Hilman" @@ -49,7 +49,7 @@ ">>>\n" ">>> Yes, the counter. I don't think\n" ">>>\n" - ">>> if (dispc.runtime_count++ = 0)\n" + ">>> if (dispc.runtime_count++ == 0)\n" ">>>\n" ">>> is thread safe.\n" ">>\n" @@ -61,7 +61,7 @@ "> do \"put\" before the whole \"get\" has finished. Otherwise we could end up,\n" "> for example, disabling a clock before enabling it.\n" ">\n" - ">>>>> +\tif (dispc.runtime_count++ = 0) {\n" + ">>>>> +\tif (dispc.runtime_count++ == 0) {\n" ">>>>\n" ">>>> You shouldn't need your own use-counting here. The runtime PM core is\n" ">>>> already doing usage counting.\n" @@ -127,4 +127,4 @@ "Regards,\n" Benoit -4806e378ca57a1444a2da4ca20e474a2f0486258fefe6f6031d60f431fcf17db +56473c498a37d48d3f2b0459b8fb6da5abdb2d223c59ec9a9c811206ac5be871
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.