Re: [PATCH 2/2] usb: core: add implementations for usb suspend/resume hooks

From: Greg KH
Date: Wed Dec 14 2022 - 03:21:38 EST


On Wed, Dec 14, 2022 at 03:06:50PM +0800, Puma Hsu wrote:
> + /*
> + * Note: Our private driver provides APIs to know the device is in audio playback
> + * or capture.
> + *
> + * usb_playback = usb_audio_playback_enabled();
> + * usb_capture = usb_audio_capture_enabled();
> + */

There is no such thing as a "private driver" in Linux, sorry, you know
this. Submit the real code please, otherwise this is just wasting
everyone's time :(

greg k-h