]> Pileus Git - ~andy/linux/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)
commit35f5df6fd8048fae124c21b48b84dbc1879000bf
treea6c5af154051206bdec0b97a6b5d3768c5622ee5
parent9453e79335da4a49031341e58ce6faf343d9bb6d
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