Re: [PATCH v5 3/3] soundwire: qcom: check clk_prepare_enable() return values
From: Vinod Koul
Date: Tue Nov 24 2026 - 04:13:37 EST
On 16-11-26, 12:55, Daniel Carter wrote:
> clk_prepare_enable() can fail; unchecked, the driver proceeds to
> touch registers with the interface clock off, which aborts on arm64.
> Check the return value in the interrupt handler (returning IRQ_NONE,
> as the interrupt status is not read or cleared on that path), in
> probe, and in the runtime resume path (returning the error without
> unmasking the level-high wake IRQ, which would storm while the slave
> keeps driving the line).
This does not apply on sdw/fixes. Please rebase
--
~Vinod