File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ struct hdac_bus {
366366 struct mutex lock ;
367367
368368 /* DRM component interface */
369- void * audio_component ;
369+ struct drm_audio_component * audio_component ;
370370 long display_power_status ;
371371 unsigned long display_power_active ;
372372
Original file line number Diff line number Diff line change @@ -252,12 +252,10 @@ static const struct component_master_ops hdac_component_master_ops = {
252252int snd_hdac_acomp_register_notifier (struct hdac_bus * bus ,
253253 const struct drm_audio_component_audio_ops * aops )
254254{
255- struct drm_audio_component * acomp = bus -> audio_component ;
256-
257- if (!acomp )
255+ if (!bus -> audio_component )
258256 return - ENODEV ;
259257
260- acomp -> audio_ops = aops ;
258+ bus -> audio_component -> audio_ops = aops ;
261259 return 0 ;
262260}
263261EXPORT_SYMBOL_GPL (snd_hdac_acomp_register_notifier );
You can’t perform that action at this time.
0 commit comments