summaryrefslogtreecommitdiff
path: root/src/i830_sdvo_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_sdvo_regs.h')
-rw-r--r--src/i830_sdvo_regs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i830_sdvo_regs.h b/src/i830_sdvo_regs.h
index 9165c394..37cfcf2e 100644
--- a/src/i830_sdvo_regs.h
+++ b/src/i830_sdvo_regs.h
@@ -122,7 +122,7 @@
# define SDVO_DTD_HSYNC_OFF SDVO_I2C_ARG_0
# define SDVO_DTD_HSYNC_WIDTH SDVO_I2C_ARG_1
# define SDVO_DTD_VSYNC_OFF_WIDTH SDVO_I2C_ARG_2
-# define SDVO_DTD_SYSNC_OFF_WIDTH_HIGH SDVO_I2C_ARG_3
+# define SDVO_DTD_SYNC_OFF_WIDTH_HIGH SDVO_I2C_ARG_3
# define SDVO_DTD_DTD_FLAGS SDVO_I2C_ARG_4
# define SDVO_DTD_DTD_FLAG_INTERLACED (1 << 7)
# define SDVO_DTD_DTD_FLAG_STEREO_MASK (3 << 5)
@@ -155,9 +155,9 @@
#define SDVO_CMD_GET_CLOCK_RATE_MULT 0x20
#define SDVO_CMD_SET_CLOCK_RATE_MULT 0x21
-# define SDVO_CLOCK_RATE_MULT_1X 0
-# define SDVO_CLOCK_RATE_MULT_2X 1
-# define SDVO_CLOCK_RATE_MULT_4X 3
+# define SDVO_CLOCK_RATE_MULT_1X (1 << 0)
+# define SDVO_CLOCK_RATE_MULT_2X (1 << 1)
+# define SDVO_CLOCK_RATE_MULT_4X (1 << 3)
#define SDVO_CMD_GET_SUPPORTED_TV_FORMATS 0x27