Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

slimbus: qcom-ngd-ctrl: reinit the reconf completion flag

Reinitialize the reconf completion flag when ngd registers are
not retainied or when enumeration is lost for ngd.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20221118065246.6835-10-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Krzysztof Kozlowski and committed by
Greg Kroah-Hartman
319a538d 1d01bcb4

+6
+6
drivers/slimbus/qcom-ngd-ctrl.c
··· 1205 1205 return 0; 1206 1206 } 1207 1207 1208 + /* 1209 + * Reinitialize only when registers are not retained or when enumeration 1210 + * is lost for ngd. 1211 + */ 1212 + reinit_completion(&ctrl->reconf); 1213 + 1208 1214 writel_relaxed(DEF_NGD_INT_MASK, ngd->base + NGD_INT_EN); 1209 1215 rx_msgq = readl_relaxed(ngd->base + NGD_RX_MSGQ_CFG); 1210 1216