[Linux-stm32] [PATCH v1 1/5] stmmac: intel: Check return value of clk_prepare_enable()

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Apr 29 14:22:52 UTC 2020


On Wed, Apr 29, 2020 at 05:04:45PM +0300, Andy Shevchenko wrote:
> clk_prepare_enable() might fail, we have to check its returned value.
> 
> While at it, remove leftover in stmmac_pci, also remove unneeded condition
> for NULL-aware clk_unregister_fixed_rate() call and call it when
> stmmac_dvr_probe() fails.

Please, ignore this series. It appears that there is one more issue with proper
error handling. I'll send v2 soon after additional testing.

-- 
With Best Regards,
Andy Shevchenko





More information about the Linux-stm32 mailing list