mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[ALSA] Nest sound devices
Modules: ALSA Core Make the control device parent of all other ALSA devices of a card. Signed-off-by: Clemens Ladisch <[email protected]>
This commit is contained in:
parent
156b2aa3be
commit
416c1079d3
3 changed files with 11 additions and 3 deletions
|
|
@ -134,6 +134,7 @@ struct snd_card {
|
|||
wait_queue_head_t shutdown_sleep;
|
||||
struct work_struct free_workq; /* for free in workqueue */
|
||||
struct device *dev;
|
||||
struct class_device *parent_device;
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
unsigned int power_state; /* power state */
|
||||
|
|
|
|||
Loading…
Reference in a new issue