Re: [PATCH v2 11/19] PM / devfreq: tegra: De-initialize properly on driver's probe error

2019-04-16 Thread Chanwoo Choi
Hi Dmitry, I already replied against patch6 about the exception handling of tegra_devfreq_probe(). This patchset split out the patch related to error handling for probe(). I think that you can squash the patches regarding of exception handling for probe() to one patch instead of split out the

[PATCH v2 11/19] PM / devfreq: tegra: De-initialize properly on driver's probe error

2019-04-15 Thread Dmitry Osipenko
Reset hardware, disable ACTMON clock, release OPP's and free IRQ before removing devfreq device since there is no guarantee that interrupt handling won't run after masking interrupt in hardware. Signed-off-by: Dmitry Osipenko --- drivers/devfreq/tegra-devfreq.c | 53