Re: [PATCH 2/2] thermal: rcar_thermal: use pm_runtime_put_sync()

From: Kuninori Morimoto
Date: Tue Nov 10 2015 - 21:42:10 EST



Hi Geert

> > - pm_runtime_put(dev);
> > + pm_runtime_put_sync(dev);
> > pm_runtime_disable(dev);
> >
> > return 0;
>
> While I can confirm this fixes the issue, I think this is a bug in the PM
> core, and thus your patch is merely a workaround.
>
> Morimoto-san: I assume this is a recent regression. Have you tried to bisect?

I thought that this is driver side issue, but I noticed that it was working before.
I tried bisect, and found that this patch breaks bind/unbind

cbc41d0a761bffb3166a413a3c77100a737c0cd7
("drivers: sh: Disable PM runtime for multi-platform ARM with genpd")

Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/