Shuah Khan 42ecf1aa3b misc: rtsx: set NULL intfdata when probe fails
[ Upstream commit f861d36e021e1ac4a0a2a1f6411d623809975d63 ]

rtsx_usb_probe() doesn't call usb_set_intfdata() to null out the
interface pointer when probe fails. This leaves a stale pointer.
Noticed the missing usb_set_intfdata() while debugging an unrelated
invalid DMA mapping problem.

Fix it with a call to usb_set_intfdata(..., NULL).

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220429210913.46804-1-skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 16:54:00 +02:00
..
2016-11-29 08:21:33 +00:00
2017-07-18 08:27:18 +01:00
2015-10-30 17:19:51 +00:00
2020-10-29 09:07:06 +01:00
2017-09-04 14:49:04 +01:00
2016-08-10 09:25:18 +01:00
2017-04-27 09:25:04 +01:00
2013-07-31 13:01:29 +01:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00