.. | .. |
---|
5 | 5 | #define _DRM_AUDIO_COMPONENT_H_ |
---|
6 | 6 | |
---|
7 | 7 | struct drm_audio_component; |
---|
| 8 | +struct device; |
---|
8 | 9 | |
---|
9 | 10 | /** |
---|
10 | 11 | * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver |
---|
.. | .. |
---|
18 | 19 | * @get_power: get the POWER_DOMAIN_AUDIO power well |
---|
19 | 20 | * |
---|
20 | 21 | * Request the power well to be turned on. |
---|
| 22 | + * |
---|
| 23 | + * Returns a wakeref cookie to be passed back to the corresponding |
---|
| 24 | + * call to @put_power. |
---|
21 | 25 | */ |
---|
22 | | - void (*get_power)(struct device *); |
---|
| 26 | + unsigned long (*get_power)(struct device *); |
---|
23 | 27 | /** |
---|
24 | 28 | * @put_power: put the POWER_DOMAIN_AUDIO power well |
---|
25 | 29 | * |
---|
26 | 30 | * Allow the power well to be turned off. |
---|
27 | 31 | */ |
---|
28 | | - void (*put_power)(struct device *); |
---|
| 32 | + void (*put_power)(struct device *, unsigned long); |
---|
29 | 33 | /** |
---|
30 | 34 | * @codec_wake_override: Enable/disable codec wake signal |
---|
31 | 35 | */ |
---|
.. | .. |
---|
113 | 117 | * @audio_ops: Ops implemented by hda driver, called by DRM driver |
---|
114 | 118 | */ |
---|
115 | 119 | const struct drm_audio_component_audio_ops *audio_ops; |
---|
| 120 | + /** |
---|
| 121 | + * @master_bind_complete: completion held during component master binding |
---|
| 122 | + */ |
---|
| 123 | + struct completion master_bind_complete; |
---|
116 | 124 | }; |
---|
117 | 125 | |
---|
118 | 126 | #endif /* _DRM_AUDIO_COMPONENT_H_ */ |
---|