[Intel-gfx] [PATCH] drm/i915/audio: Skip the cdclk modeset if no pipes attached
Kai Vehmanen
kai.vehmanen at linux.intel.com
Mon Feb 3 14:46:32 UTC 2020
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
More information about the Intel-gfx
mailing list