diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-10-02 13:58:50 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-02-26 05:15:12 -0500 |
commit | 7ad582be12728ea76b11ce4f4c2f1202d11bf13c (patch) | |
tree | faa086cc4220f2e6ca2904b3ea9131431de48093 /include/video | |
parent | ed35188158552d4b1e7a8df2a10dedf88c813539 (diff) |
OMAPDSS: change signal_level & signal_edge enum values
At the moment the enum values for ACTIVE_HIGH and RISING_EDGE are 0, and
ACTIVE_LOW and FALLING_EDGE are 1, to match the values programmed to HW.
The previous patch removed this dependency.
Swap the enum values the other way around. This doesn't change the
behavior in any way, but makes it easier to debug as value of '1' means
HIGH or RISING.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 7414e4a97508..45a230190720 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -129,13 +129,13 @@ enum omap_rfbi_te_mode { | |||
129 | }; | 129 | }; |
130 | 130 | ||
131 | enum omap_dss_signal_level { | 131 | enum omap_dss_signal_level { |
132 | OMAPDSS_SIG_ACTIVE_HIGH = 0, | 132 | OMAPDSS_SIG_ACTIVE_LOW, |
133 | OMAPDSS_SIG_ACTIVE_LOW = 1, | 133 | OMAPDSS_SIG_ACTIVE_HIGH, |
134 | }; | 134 | }; |
135 | 135 | ||
136 | enum omap_dss_signal_edge { | 136 | enum omap_dss_signal_edge { |
137 | OMAPDSS_DRIVE_SIG_RISING_EDGE, | ||
138 | OMAPDSS_DRIVE_SIG_FALLING_EDGE, | 137 | OMAPDSS_DRIVE_SIG_FALLING_EDGE, |
138 | OMAPDSS_DRIVE_SIG_RISING_EDGE, | ||
139 | }; | 139 | }; |
140 | 140 | ||
141 | enum omap_dss_venc_type { | 141 | enum omap_dss_venc_type { |