]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: MANAGER: Update display sysfs store
authorArchit Taneja <archit@ti.com>
Fri, 7 Sep 2012 12:30:07 +0000 (18:00 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:37 +0000 (14:58 +0300)
commitda46f6c98bec812343e8b0dd7b598374972d6cd2
treed6c89786cfb02bc5dd3783f9d06a0e5bf7847453
parent87b1eacc4973910afe7dc211c5f2e5d193e9b2a7
OMAPDSS: MANAGER: Update display sysfs store

The display sysfs attribute's store function needs to be changed with the
introduction of outputs.

The DSS driver ensures that there is one display per output, and that a
registered omap_dss_device will have an output connected to it. The display
sysfs store function unsets the current output connected to the manager, and
sets it with the output connected to the new display. If the new display doesn't
have an output for some reason, we just bail out. The function doesn't set/unset
output->device links. These remain the same as when the omap_dss_device was
registered.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/manager-sysfs.c