[PATCH] ASoC: wm8962: Convert to devm_clk_get_optional()

Charles Keepax ckeepax at opensource.cirrus.com
Mon Oct 25 12:53:27 CEST 2021


On Mon, Oct 18, 2021 at 04:01:11PM +0200, Geert Uytterhoeven wrote:
> Use the existing devm_clk_get_optional() helper instead of building a
> similar construct on top of devm_clk_get() that fails to handle all
> errors but -EPROBE_DEFER.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list