Re: [PATCH] drm/i915/audio: Skip the cdclk modeset if no pipes attached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

On Mon, 3 Feb 2020, Ville Syrjälä wrote:

> >  	/* need to hold at least one crtc lock for the global state */
> > -	crtc = intel_get_crtc_for_pipe(dev_priv, PIPE_A);
> 
> Was thinking a simple 'return 0' would do the trick, but maybe we
> don't want to call this at all. OTOH not sure why we would even
> register the audio component if there are no pipes. Does the audio
> driver get confused if we don't do that?

that's ok as well, audio driver will return fail for the probe, but in 
this case I guess this is ok (and even expected).

Br, Kai
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux