clk_get_rate may return -ENODEV if the clock isn't valid.
Also, make the error cases go through a single path.
Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump
for DM")
Signed-off-by: Ismael Luceno
Reviewed-by: Matthias Brugger
Reviewed-by: Marek Vasut
---
Not
On 18/Mar/2019 13:26, Ismael Luceno wrote:
> clk_get_rate may return -ENODEV if the clock isn't valid.
>
> Also, make the error cases go through a single path.
>
> Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump
> for DM")
>
> Signed-off-by: Ismael Luceno
> Review
On 4/15/19 2:31 PM, Ismael Luceno Cortes wrote:
> On 18/Mar/2019 13:26, Ismael Luceno wrote:
>> clk_get_rate may return -ENODEV if the clock isn't valid.
>>
>> Also, make the error cases go through a single path.
>>
>> Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump
>>
3 matches
Mail list logo