summaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-11-30 18:19:39 +0100
committerTakashi Iwai <tiwai@suse.de>2015-12-10 13:39:30 +0100
commit0bdf5a05647a66dcc6394986e061daeac9b1cf96 (patch)
tree04be86303fff8e9c65bbdb6cd0960fb829a03164 /sound/mips
parentdrm/i915: Add get_eld audio component (diff)
downloadlinux-0bdf5a05647a66dcc6394986e061daeac9b1cf96.tar.xz
linux-0bdf5a05647a66dcc6394986e061daeac9b1cf96.zip
drm/i915: Add reverse mapping between port and intel_encoder
This patch adds a reverse mapping from a digital port number to intel_encoder object containing the corresponding intel_digital_port. It simplifies the query of the encoder a lot. Note that, even if it's a valid digital port, the dig_port_map[] might point still to NULL -- usually it implies a DP MST port. Due to this fact, the NULL check in each place has no WARN_ON() and just skips the port. Once when the situation changes in future, we might introduce WARN_ON() for a more strict check. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions