summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2022-04-29 15:09:13 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-14 16:59:37 +0200
commitfae28ee165358930d4cd4adcaeac85072a16782f (patch)
tree9559ecc3fc403e4695befa2445e4f935858006ff /drivers/clocksource
parentbee8f9808a7e82addfc73a0973b16a8bb684205b (diff)
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>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions