Re: [PATCH 3/4] IPQ40xx: clk: dont always return 0

2020-12-02 Thread Tom Rini
On Wed, Oct 28, 2020 at 01:56:25PM +0100, Robert Marko wrote: > Currently the driver will go through the clock ID-s and set/enable them as > needed. > But if the ID is unknown it will fall through the switch case to the default > case which will always return 0. > > This is not correct and

[PATCH 3/4] IPQ40xx: clk: dont always return 0

2020-10-28 Thread Robert Marko
Currently the driver will go through the clock ID-s and set/enable them as needed. But if the ID is unknown it will fall through the switch case to the default case which will always return 0. This is not correct and default cases should return a error code since clock ID is unknown. So lets