Re: [PATCH RESEND 3/5] clk: also handle ENOENT in *_optional functions

2023-11-01 Thread Sean Anderson
On 8/17/23 13:04, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen If the device does not specify any clocks in device tree, these functions will return PTR_ERR(-ENOENT). This is not the intended behavior and does not comply with linux kernel CCF. Fix that by returning NULL under such circumstan

[PATCH RESEND 3/5] clk: also handle ENOENT in *_optional functions

2023-08-17 Thread Yang Xiwen via B4 Relay
From: Yang Xiwen If the device does not specify any clocks in device tree, these functions will return PTR_ERR(-ENOENT). This is not the intended behavior and does not comply with linux kernel CCF. Fix that by returning NULL under such circumstances instead. Signed-off-by: Yang Xiwen --- inclu