Searched hist:"3360 b84b8ed1f08bfb39743465b858a04492fcc3" (Results 1 – 4 of 4) sorted by relevance
/linux/sound/usb/ |
H A D | mixer_scarlett.c | diff 3360b84b8ed1f08bfb39743465b858a04492fcc3 Tue Nov 18 11:47:04 CET 2014 Takashi Iwai <tiwai@suse.de> ALSA: usb-audio: Allow quirks to handle own resume and proc dump
So far, we blindly assumed that the all usb-audio mixer elements follow the standard and apply the standard resume method for the registered elements in the id_elems[] list. However, some quirks really need the own resume and it's incomplete for now.
This patch enhances the resume handling in two folds: - split some fields in struct usb_mixer_elem_info into a smaller header struct (usb_mixer_elem_list) for keeping the minimal information in the linked-list; the usb_mixer_elem_info embeds this header struct instead - add resume and dump callbacks to usb_mixer_elem_list struct to allow quirks providing the own methods
For the standard mixer elements, these new callbacks are set to the standard ones as default, thus there is no functional change by this patch yet.
The dump and resume callbacks are typedef'ed for ease of later patches using arrays of such function pointers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | mixer.h | diff 3360b84b8ed1f08bfb39743465b858a04492fcc3 Tue Nov 18 11:47:04 CET 2014 Takashi Iwai <tiwai@suse.de> ALSA: usb-audio: Allow quirks to handle own resume and proc dump
So far, we blindly assumed that the all usb-audio mixer elements follow the standard and apply the standard resume method for the registered elements in the id_elems[] list. However, some quirks really need the own resume and it's incomplete for now.
This patch enhances the resume handling in two folds: - split some fields in struct usb_mixer_elem_info into a smaller header struct (usb_mixer_elem_list) for keeping the minimal information in the linked-list; the usb_mixer_elem_info embeds this header struct instead - add resume and dump callbacks to usb_mixer_elem_list struct to allow quirks providing the own methods
For the standard mixer elements, these new callbacks are set to the standard ones as default, thus there is no functional change by this patch yet.
The dump and resume callbacks are typedef'ed for ease of later patches using arrays of such function pointers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | mixer_quirks.c | diff 3360b84b8ed1f08bfb39743465b858a04492fcc3 Tue Nov 18 11:47:04 CET 2014 Takashi Iwai <tiwai@suse.de> ALSA: usb-audio: Allow quirks to handle own resume and proc dump
So far, we blindly assumed that the all usb-audio mixer elements follow the standard and apply the standard resume method for the registered elements in the id_elems[] list. However, some quirks really need the own resume and it's incomplete for now.
This patch enhances the resume handling in two folds: - split some fields in struct usb_mixer_elem_info into a smaller header struct (usb_mixer_elem_list) for keeping the minimal information in the linked-list; the usb_mixer_elem_info embeds this header struct instead - add resume and dump callbacks to usb_mixer_elem_list struct to allow quirks providing the own methods
For the standard mixer elements, these new callbacks are set to the standard ones as default, thus there is no functional change by this patch yet.
The dump and resume callbacks are typedef'ed for ease of later patches using arrays of such function pointers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
H A D | mixer.c | diff 3360b84b8ed1f08bfb39743465b858a04492fcc3 Tue Nov 18 11:47:04 CET 2014 Takashi Iwai <tiwai@suse.de> ALSA: usb-audio: Allow quirks to handle own resume and proc dump
So far, we blindly assumed that the all usb-audio mixer elements follow the standard and apply the standard resume method for the registered elements in the id_elems[] list. However, some quirks really need the own resume and it's incomplete for now.
This patch enhances the resume handling in two folds: - split some fields in struct usb_mixer_elem_info into a smaller header struct (usb_mixer_elem_list) for keeping the minimal information in the linked-list; the usb_mixer_elem_info embeds this header struct instead - add resume and dump callbacks to usb_mixer_elem_list struct to allow quirks providing the own methods
For the standard mixer elements, these new callbacks are set to the standard ones as default, thus there is no functional change by this patch yet.
The dump and resume callbacks are typedef'ed for ease of later patches using arrays of such function pointers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|