]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: Close SMD channel on device removal
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 9 May 2017 04:36:37 +0000 (21:36 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 23 May 2017 15:23:00 +0000 (18:23 +0300)
commit4a835c3ba8037aa242c98a74d42ab1131013977b
treefac3552774670c633ea952c8c2e9dc5cbdbd4e25
parent67b8632cfbad84e74e6bd1db8ed398166a1b222d
wcn36xx: Close SMD channel on device removal

The SMD channel is not the primary WCNSS channel and must explicitly be
closed as the device is removed, or the channel will already by open on
a subsequent probe call in e.g. the case of reloading the kernel module.

This issue was introduced because I simplified the underlying SMD
implementation while the SMD adaptions of the driver sat on the mailing
list, but missed to update these patches. The patch does however only
apply back to the transition to rpmsg, hence the limited Fixes.

Fixes: bb6e7e82592f ("soc: qcom: smd: Transition client drivers from smd to rpmsg")
Reported-by: Eyal Ilsar <c_eilsar@qti.qualcomm.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wcn36xx/main.c