Messages in this thread | | | Date | Wed, 22 Nov 2023 20:58:50 +0100 | Subject | Re: [PATCH 2/2] soundwire: qcom: move sconfig in qcom_swrm_stream_alloc_ports() out of critical section | From | Konrad Dybcio <> |
| |
On 11/20/23 20:07, Krzysztof Kozlowski wrote: > Setting members of local variable "sconfig" in > qcom_swrm_stream_alloc_ports() does not depend on any earlier code in > this function, so can be moved up before the critical section. This > makes the code a bit easier to follow because critical section is > smaller. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
| |