imx-drm: imx-drm-core: Fix imx_drm_encoder_get_mux_id
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 7 Apr 2014 08:22:36 +0000 (10:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 23:13:56 +0000 (16:13 -0700)
commit60d857bffcac67c77a33c06d8dfe405f3a293d2b
tree26c3244ced133010d39996c40810034c146e027b
parent539e26cbbd9070d14e25db025fb716cda1cd07da
imx-drm: imx-drm-core: Fix imx_drm_encoder_get_mux_id

The decoder mux id is equal to the port id of the encoder's input port
that is connected to the given crtc, not to the endpoint id (which is
arbitrary and usually zero).

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-drm-core.c