]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/atmel-hlcdc: always iterate over the first 4 output endpoints
authorPeter Rosin <peda@axentia.se>
Sat, 25 Aug 2018 08:56:19 +0000 (10:56 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 27 Aug 2018 19:22:18 +0000 (21:22 +0200)
commit012877b76c2f004f03c9b119b96f73494b8c5196
tree789343a3d9f91389e15ccb67ce3106e0973e8ddf
parent2e7c04aec86758e0adfcad4a24c86593b45807a3
drm/atmel-hlcdc: always iterate over the first 4 output endpoints

This enables more flexible devicetrees. You can e.g. have two output
nodes where one is not enabled, without the ordering affecting things.

Prior to this patch the active nodes had to have endpoint id zero and
upwards consecutively.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180825085620.10566-4-peda@axentia.se
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c