aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2022-06-06 15:37:50 -0500
committerMark Brown <[email protected]>2022-06-24 16:21:33 +0100
commit0484271ab0ce50649329fa9dc23c50853c5b26a4 (patch)
tree16c98797366fda4531ef6f68dba0cc774c690d90 /drivers/usb/cdns3/cdns3-ti.c
parent08bb5dc6ce02374169213cea772b1c297eaf32d5 (diff)
ASoC: rt7*-sdw: harden jack_detect_handler
Realtek headset codec drivers typically check if the card is instantiated before proceeding with the jack detection. The rt700, rt711 and rt711-sdca are however missing a check on the card pointer, which can lead to NULL dereferences encountered in driver bind/unbind tests. Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Rander Wang <[email protected]> Reviewed-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions