mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
Driver core holds a reference to the USB interface and its parent USB device while the interface is bound to a driver and there is no need to take additional references unless the structures are needed after disconnect. Similarly, USB core holds a reference to all interfaces in the active configuration so there is no need for a driver to take a reference to a sibling interface only to release it at disconnect either. Drop the redundant references to reduce cargo culting, make it easier to spot drivers where extra references are needed, and reduce the risk of memory leaks when drivers fail to release them. Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260305111810.18688-1-johan@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| us122l.c | ||
| us122l.h | ||
| us144mkii.c | ||
| us144mkii.h | ||
| us144mkii_capture.c | ||
| us144mkii_controls.c | ||
| us144mkii_midi.c | ||
| us144mkii_pcm.c | ||
| us144mkii_pcm.h | ||
| us144mkii_playback.c | ||
| usb_stream.c | ||
| usb_stream.h | ||
| usbus428ctldefs.h | ||
| usbusx2y.c | ||
| usbusx2y.h | ||
| usbusx2yaudio.c | ||
| usx2y.h | ||
| usX2Yhwdep.c | ||
| usX2Yhwdep.h | ||
| usx2yhwdeppcm.c | ||
| usx2yhwdeppcm.h | ||