Re: [PATCH] ALSA:usb-audio:check urb before kill it

2020-12-29 Thread Takashi Iwai
On Sun, 27 Dec 2020 14:04:59 +0100, Defang Bo wrote: > > Similar to commit<124751d5e>, there should be a check for urb before kill it. > > Signed-off-by: Defang Bo usb_kill_urb() accepts the NULL urb pointer, so the NULL check in the caller side is basically superfluous. thanks, Takashi > -

[PATCH] ALSA:usb-audio:check urb before kill it

2020-12-27 Thread Defang Bo
Similar to commit<124751d5e>, there should be a check for urb before kill it. Signed-off-by: Defang Bo --- sound/usb/mixer.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index 81e987e..0223ef3 100644 --- a/sound/usb/mixer.c +++ b