[PATCH] PM / Domains: Don't return -EEXIST at attach when PM domain exists

Tony Lindgren tony at atomide.com
Mon May 14 17:53:42 PDT 2018


* Ulf Hansson <ulf.hansson at linaro.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 at samsung.com>
> Cc: Marek Szyprowski <m.szyprowski at samsung.com>
> Reported-by: Krzysztof Kozlowski <krzk at kernel.org>
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> Tested-by: Tested-by: Krzysztof Kozlowski <krzk at kernel.org>

Fixes the issue for me too:

Tested-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list