aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2022-06-06 15:37:48 -0500
committerMark Brown <[email protected]>2022-06-24 16:21:31 +0100
commitfe154c4ff376bc31041c6441958a08243df09c99 (patch)
treeca00c988209c1939b5495ab65465d759e03ea856 /drivers/usb/cdns3/cdns3-ti.c
parented0a7fb29c9fd4f53eeb37d1fe2354df7a038047 (diff)
ASoC: Intel: sof_sdw: handle errors on card registration
If the card registration fails, typically because of deferred probes, the device properties added for headset codecs are not removed, which leads to kernel oopses in driver bind/unbind tests. We already clean-up the device properties when the card is removed, this code can be moved as a helper and called upon card registration errors. 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