]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: fix DPI and SDI device ids
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 29 Aug 2013 13:06:27 +0000 (16:06 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 29 Aug 2013 13:21:51 +0000 (16:21 +0300)
commit61cd2e9bd5df6e0f9cc9335d0c80f6d7f2723014
treea6c5af154051206bdec0b97a6b5d3768c5622ee5
parent498e207defd17b399274372d16e49aa295703ddd
OMAPDSS: fix DPI and SDI device ids

The DPI and SDI platform devices are currently created with the ID of
-1. The ID doesn't currently affect anything.

However, we have added regulator supply entries for "omapdss_dpi.0" and
"omapdss_sdi.0" to the board files, although these supply entries are
not yet used. As the ID used for the devices is -1, these regulator
supply entries will not work.

To fix the issue, assign ID of 0 to the devices. In the future there may
be more than one DPI or SDI output, so it makes sense to have a proper
ID for them.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
arch/arm/mach-omap2/display.c