Search Linux Wireless

Re: [PATCH wireless-next 1/2] wifi: wilc1000: Convert using devm_clk_get_optional_enabled() in wilc_sdio_probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Li Zetao <lizetao1@xxxxxxxxxx> wrote:

> Use devm_clk_get_optional_enabled() instead of devm_clk_get_optional() +
> clk_prepare_enable(), which can make the clk consistent with the device
> life cycle and reduce the risk of unreleased clk resources. Since the
> device framework has automatically released the clk resource, there is
> no need to execute clk_disable_unprepare(clk) on the error path, drop
> the clk_disable_unprepare label, and the original error process can change
> to dispose_irq.
> 
> Signed-off-by: Li Zetao <lizetao1@xxxxxxxxxx>

2 patches applied to wireless-next.git, thanks.

554475248177 wifi: wilc1000: Convert using devm_clk_get_optional_enabled() in wilc_sdio_probe()
ff63a5c72782 wifi: wilc1000: Convert using devm_clk_get_optional_enabled() in wilc_bus_probe()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240903110205.4127706-2-lizetao1@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux