[PATCH v3] ARM: davinci: da8xx: Fix sleeping function called from invalid context

Sekhar Nori nsekhar at ti.com
Thu Dec 1 23:43:54 PST 2016


On Thursday 01 December 2016 11:17 PM, David Lechner wrote:
> 
>> +        clk_put(usb20_clk);
> 
> The global usb20_clk is no longer valid after this. Should we set it to
> NULL here?

No need of this. Also, NULL is valid clock handle.

Thanks,
Sekhar



More information about the linux-arm-kernel mailing list