[PATCH 13/17] spi: stm32: Use helper function devm_clk_get_enabled()

Mark Brown broonie at kernel.org
Thu Mar 12 06:02:20 PDT 2026


On Thu, Mar 12, 2026 at 05:29:05PM +0800, Pei Xiao wrote:

> +	if (!cfg->has_device_mode && device_mode)
> +		return dev_err_probe(&pdev->dev, -EPERM, "spi-slave not
> +				     supported\n");

Similar thing in this driver here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20260312/2ddb0036/attachment.sig>


More information about the Linux-rockchip mailing list