]> git.baikalelectronics.ru Git - 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)
commite9a68907cd6fd8e012745fecc3bbab10d63ee718
tree789343a3d9f91389e15ccb67ce3106e0973e8ddf
parent75014029617b863f7f5f1a297beb8256118f9af6
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