usb: gadget: f_uac1: Add suspend callback
authorPavel Hofman <pavel.hofman@ivitera.com>
Fri, 21 Jan 2022 15:53:08 +0000 (16:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jan 2022 13:06:09 +0000 (14:06 +0100)
commitd1d11dd1306908bc18b6592bbd21ba7d19a931e5
tree30dc46a8602c9558018fa0d15ad46662a899a81e
parent7ff4a3b5489959a0256840a361b54d979b822535
usb: gadget: f_uac1: Add suspend callback

Add suspend callback to f_uac1 function, calling corresponding method
of u_audio in order to stop the respective PCM streams and to notify
subscribed clients about the stop.

Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/20220121155308.48794-11-pavel.hofman@ivitera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_uac1.c