]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DISPLAY: Ignore newly added omap_video_timings fields for display timings...
authorArchit Taneja <archit@ti.com>
Thu, 21 Jun 2012 07:51:02 +0000 (13:21 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 29 Jun 2012 07:15:49 +0000 (10:15 +0300)
commit22a6684250b1f0699332e6e258fdb35f9d3a8c63
tree3051c9fd0d9c747f5af165fbbddf176af3222178
parent22cf2cd3d522bcda569ae4bcd3fd4374ca3e4f59
OMAPDSS: DISPLAY: Ignore newly added omap_video_timings fields for display timings sysfs file

The display sysfs file for viewing/storing display timings is something which
will be deprecated. The new omap_video_timings fields (hsync_level, vsync_level
and others) are not configurable or viewable via this sysfs file.

This prevents the need to make the input more configurable to take the new
fields and at the same time work without these fields for backward
compatibility.

In display_timings_store, the omap_video_timings struct used to set the timings
is initialized to the existing panel timings so that the new fields are taken in
correctly. The other fields are taken from the user as before.

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