Re: [PATCH 07/15] drm/panfrost: use device_property_present to check for OPP

2020-05-29 Thread Clément Péron
Hi Steven, On Thu, 28 May 2020 at 15:22, Steven Price wrote: > > On 10/05/2020 17:55, Clément Péron wrote: > > Instead of expecting an error from dev_pm_opp_of_add_table() > > do a simple device_property_present() check. > > > > Signed-off-by: Clément Péron > > I'm not sure I understand why

Re: [PATCH 07/15] drm/panfrost: use device_property_present to check for OPP

2020-05-28 Thread Steven Price
On 10/05/2020 17:55, Clément Péron wrote: Instead of expecting an error from dev_pm_opp_of_add_table() do a simple device_property_present() check. Signed-off-by: Clément Péron I'm not sure I understand why this is better. We seem to have more code to do roughly the same thing just with the

[PATCH 07/15] drm/panfrost: use device_property_present to check for OPP

2020-05-10 Thread Clément Péron
Instead of expecting an error from dev_pm_opp_of_add_table() do a simple device_property_present() check. Signed-off-by: Clément Péron --- drivers/gpu/drm/panfrost/panfrost_devfreq.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git