]> git.ipfire.org Git - people/arne_f/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)
commitefad8396e906d095521791e0408293c101543e50
treefac3552774670c633ea952c8c2e9dc5cbdbd4e25
parent6d18c732b95c0a9d35e9f978b4438bba15412284
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: 5052de8deff5 ("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