[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180515005342.GM98604@atomide.com>
Date: Mon, 14 May 2018 17:53:42 -0700
From: Tony Lindgren <tony@...mide.com>
To: Ulf Hansson <ulf.hansson@...aro.org>
Cc: "Rafael J . Wysocki" <rjw@...ysocki.net>, linux-pm@...r.kernel.org,
"linux-samsung-soc @ vger . kernel . org"
<linux-samsung-soc@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzk@...nel.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
linux-arm-kernel@...ts.infradead.org,
Marek Szyprowski <m.szyprowski@...sung.com>
Subject: Re: [PATCH] PM / Domains: Don't return -EEXIST at attach when PM
domain exists
* Ulf Hansson <ulf.hansson@...aro.org> [180514 14:55]:
> As dev_pm_domain_attach() isn't the only way to assign PM domain pointers
> to devices, clearly we must allow a device to have the pointer already
> being assigned. For this reason, return 0 instead of -EEXIST.
>
> Cc: Sylwester Nawrocki <s.nawrocki@...sung.com>
> Cc: Marek Szyprowski <m.szyprowski@...sung.com>
> Reported-by: Krzysztof Kozlowski <krzk@...nel.org>
> Signed-off-by: Ulf Hansson <ulf.hansson@...aro.org>
> Tested-by: Tested-by: Krzysztof Kozlowski <krzk@...nel.org>
Fixes the issue for me too:
Tested-by: Tony Lindgren <tony@...mide.com>
Powered by blists - more mailing lists