]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.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)
commit947b2254249ceab769dfa07d5291fd77e387a0c7
treed6c89786cfb02bc5dd3783f9d06a0e5bf7847453
parent952cbaaa9b8beacc425f9aedf370468cbb737a2c
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