Loading drivers/usb/gadget/function/u_uac1.c +4 −1 Original line number Diff line number Diff line /* * u_uac1.c -- ALSA audio utilities for Gadget stack * * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. * Copyright (C) 2008 Bryan Wu <cooloney@kernel.org> * Copyright (C) 2008 Analog Devices, Inc * Loading Loading @@ -699,6 +699,7 @@ static int gaudio_close_snd_dev(struct gaudio *gau) filp_close(snd->filp, NULL); snd->filp = NULL; } snd->card = NULL; /* Close PCM playback device and setup substream */ snd = &gau->playback; Loading @@ -706,6 +707,7 @@ static int gaudio_close_snd_dev(struct gaudio *gau) filp_close(snd->filp, NULL); snd->filp = NULL; } snd->card = NULL; /* Close PCM capture device and setup substream */ snd = &gau->capture; Loading @@ -713,6 +715,7 @@ static int gaudio_close_snd_dev(struct gaudio *gau) filp_close(snd->filp, NULL); snd->filp = NULL; } snd->card = NULL; return 0; } Loading Loading
drivers/usb/gadget/function/u_uac1.c +4 −1 Original line number Diff line number Diff line /* * u_uac1.c -- ALSA audio utilities for Gadget stack * * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. * Copyright (C) 2008 Bryan Wu <cooloney@kernel.org> * Copyright (C) 2008 Analog Devices, Inc * Loading Loading @@ -699,6 +699,7 @@ static int gaudio_close_snd_dev(struct gaudio *gau) filp_close(snd->filp, NULL); snd->filp = NULL; } snd->card = NULL; /* Close PCM playback device and setup substream */ snd = &gau->playback; Loading @@ -706,6 +707,7 @@ static int gaudio_close_snd_dev(struct gaudio *gau) filp_close(snd->filp, NULL); snd->filp = NULL; } snd->card = NULL; /* Close PCM capture device and setup substream */ snd = &gau->capture; Loading @@ -713,6 +715,7 @@ static int gaudio_close_snd_dev(struct gaudio *gau) filp_close(snd->filp, NULL); snd->filp = NULL; } snd->card = NULL; return 0; } Loading