diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-03-30 21:57:33 -0400 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-03-31 10:26:23 -0400 |
commit | 25985edcedea6396277003854657b5f3cb31a628 (patch) | |
tree | f026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/video | |
parent | 6aba74f2791287ec407e0f92487a725a25908067 (diff) |
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/video')
40 files changed, 66 insertions, 66 deletions
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index ccecf9974587..4484c721f0f9 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c | |||
@@ -637,7 +637,7 @@ static inline unsigned int chan_to_field(unsigned int chan, const struct fb_bitf | |||
637 | * magnitude which needs to be scaled in this function for the hardware. | 637 | * magnitude which needs to be scaled in this function for the hardware. |
638 | * Things to take into consideration are how many color registers, if | 638 | * Things to take into consideration are how many color registers, if |
639 | * any, are supported with the current color visual. With truecolor mode | 639 | * any, are supported with the current color visual. With truecolor mode |
640 | * no color palettes are supported. Here a psuedo palette is created | 640 | * no color palettes are supported. Here a pseudo palette is created |
641 | * which we store the value in pseudo_palette in struct fb_info. For | 641 | * which we store the value in pseudo_palette in struct fb_info. For |
642 | * pseudocolor mode we have a limited color palette. To deal with this | 642 | * pseudocolor mode we have a limited color palette. To deal with this |
643 | * we can program what color is displayed for a particular pixel value. | 643 | * we can program what color is displayed for a particular pixel value. |
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index d437b3daf1f5..ebb893c49e90 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -3124,12 +3124,12 @@ static int __devinit atyfb_setup_sparc(struct pci_dev *pdev, | |||
3124 | M = pll_regs[2]; | 3124 | M = pll_regs[2]; |
3125 | 3125 | ||
3126 | /* | 3126 | /* |
3127 | * PLL Feedback Divider N (Dependant on CLOCK_CNTL): | 3127 | * PLL Feedback Divider N (Dependent on CLOCK_CNTL): |
3128 | */ | 3128 | */ |
3129 | N = pll_regs[7 + (clock_cntl & 3)]; | 3129 | N = pll_regs[7 + (clock_cntl & 3)]; |
3130 | 3130 | ||
3131 | /* | 3131 | /* |
3132 | * PLL Post Divider P (Dependant on CLOCK_CNTL): | 3132 | * PLL Post Divider P (Dependent on CLOCK_CNTL): |
3133 | */ | 3133 | */ |
3134 | P = 1 << (pll_regs[6] >> ((clock_cntl & 3) << 1)); | 3134 | P = 1 << (pll_regs[6] >> ((clock_cntl & 3) << 1)); |
3135 | 3135 | ||
diff --git a/drivers/video/aty/mach64_cursor.c b/drivers/video/aty/mach64_cursor.c index 2ba8b3c421a1..46f72ed53510 100644 --- a/drivers/video/aty/mach64_cursor.c +++ b/drivers/video/aty/mach64_cursor.c | |||
@@ -51,7 +51,7 @@ | |||
51 | * to a larger number and saturate CUR_HORZ_POSN to zero. | 51 | * to a larger number and saturate CUR_HORZ_POSN to zero. |
52 | * | 52 | * |
53 | * if Y becomes negative, CUR_VERT_OFFSET must be adjusted to a larger number, | 53 | * if Y becomes negative, CUR_VERT_OFFSET must be adjusted to a larger number, |
54 | * CUR_OFFSET must be adjusted to a point to the appropraite line in the cursor | 54 | * CUR_OFFSET must be adjusted to a point to the appropriate line in the cursor |
55 | * definitation and CUR_VERT_POSN must be saturated to zero. | 55 | * definitation and CUR_VERT_POSN must be saturated to zero. |
56 | */ | 56 | */ |
57 | 57 | ||
diff --git a/drivers/video/au1200fb.c b/drivers/video/au1200fb.c index 4ea187d93768..5dff32ac8044 100644 --- a/drivers/video/au1200fb.c +++ b/drivers/video/au1200fb.c | |||
@@ -1572,7 +1572,7 @@ static int au1200fb_init_fbinfo(struct au1200fb_device *fbdev) | |||
1572 | /* Copy monitor specs from panel data */ | 1572 | /* Copy monitor specs from panel data */ |
1573 | /* fixme: we're setting up LCD controller windows, so these dont give a | 1573 | /* fixme: we're setting up LCD controller windows, so these dont give a |
1574 | damn as to what the monitor specs are (the panel itself does, but that | 1574 | damn as to what the monitor specs are (the panel itself does, but that |
1575 | isnt done here...so maybe need a generic catchall monitor setting??? */ | 1575 | isn't done here...so maybe need a generic catchall monitor setting??? */ |
1576 | memcpy(&fbi->monspecs, &panel->monspecs, sizeof(struct fb_monspecs)); | 1576 | memcpy(&fbi->monspecs, &panel->monspecs, sizeof(struct fb_monspecs)); |
1577 | 1577 | ||
1578 | /* We first try the user mode passed in argument. If that failed, | 1578 | /* We first try the user mode passed in argument. If that failed, |
diff --git a/drivers/video/backlight/corgi_lcd.c b/drivers/video/backlight/corgi_lcd.c index af6098396fe6..c6533bad26f8 100644 --- a/drivers/video/backlight/corgi_lcd.c +++ b/drivers/video/backlight/corgi_lcd.c | |||
@@ -109,7 +109,7 @@ static unsigned long corgibl_flags; | |||
109 | #define CORGIBL_BATTLOW 0x02 | 109 | #define CORGIBL_BATTLOW 0x02 |
110 | 110 | ||
111 | /* | 111 | /* |
112 | * This is only a psuedo I2C interface. We can't use the standard kernel | 112 | * This is only a pseudo I2C interface. We can't use the standard kernel |
113 | * routines as the interface is write only. We just assume the data is acked... | 113 | * routines as the interface is write only. We just assume the data is acked... |
114 | */ | 114 | */ |
115 | static void lcdtg_ssp_i2c_send(struct corgi_lcd *lcd, uint8_t data) | 115 | static void lcdtg_ssp_i2c_send(struct corgi_lcd *lcd, uint8_t data) |
diff --git a/drivers/video/backlight/locomolcd.c b/drivers/video/backlight/locomolcd.c index bbca3127071e..be20b5cbe26c 100644 --- a/drivers/video/backlight/locomolcd.c +++ b/drivers/video/backlight/locomolcd.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * GPL v2 | 6 | * GPL v2 |
7 | * | 7 | * |
8 | * This driver assumes single CPU. That's okay, because collie is | 8 | * This driver assumes single CPU. That's okay, because collie is |
9 | * slightly old hardware, and noone is going to retrofit second CPU to | 9 | * slightly old hardware, and no one is going to retrofit second CPU to |
10 | * old PDA. | 10 | * old PDA. |
11 | */ | 11 | */ |
12 | 12 | ||
diff --git a/drivers/video/bfin_adv7393fb.h b/drivers/video/bfin_adv7393fb.h index 8c7f9e4fc6eb..cd591b5152a5 100644 --- a/drivers/video/bfin_adv7393fb.h +++ b/drivers/video/bfin_adv7393fb.h | |||
@@ -87,12 +87,12 @@ static const u8 init_NTSC_TESTPATTERN[] = { | |||
87 | 87 | ||
88 | static const u8 init_NTSC[] = { | 88 | static const u8 init_NTSC[] = { |
89 | 0x00, 0x1E, /* Power up all DACs and PLL */ | 89 | 0x00, 0x1E, /* Power up all DACs and PLL */ |
90 | 0xC3, 0x26, /* Program RGB->YCrCb Color Space convertion matrix */ | 90 | 0xC3, 0x26, /* Program RGB->YCrCb Color Space conversion matrix */ |
91 | 0xC5, 0x12, /* Program RGB->YCrCb Color Space convertion matrix */ | 91 | 0xC5, 0x12, /* Program RGB->YCrCb Color Space conversion matrix */ |
92 | 0xC2, 0x4A, /* Program RGB->YCrCb Color Space convertion matrix */ | 92 | 0xC2, 0x4A, /* Program RGB->YCrCb Color Space conversion matrix */ |
93 | 0xC6, 0x5E, /* Program RGB->YCrCb Color Space convertion matrix */ | 93 | 0xC6, 0x5E, /* Program RGB->YCrCb Color Space conversion matrix */ |
94 | 0xBD, 0x19, /* Program RGB->YCrCb Color Space convertion matrix */ | 94 | 0xBD, 0x19, /* Program RGB->YCrCb Color Space conversion matrix */ |
95 | 0xBF, 0x42, /* Program RGB->YCrCb Color Space convertion matrix */ | 95 | 0xBF, 0x42, /* Program RGB->YCrCb Color Space conversion matrix */ |
96 | 0x8C, 0x1F, /* NTSC Subcarrier Frequency */ | 96 | 0x8C, 0x1F, /* NTSC Subcarrier Frequency */ |
97 | 0x8D, 0x7C, /* NTSC Subcarrier Frequency */ | 97 | 0x8D, 0x7C, /* NTSC Subcarrier Frequency */ |
98 | 0x8E, 0xF0, /* NTSC Subcarrier Frequency */ | 98 | 0x8E, 0xF0, /* NTSC Subcarrier Frequency */ |
@@ -109,12 +109,12 @@ static const u8 init_NTSC[] = { | |||
109 | 109 | ||
110 | static const u8 init_PAL[] = { | 110 | static const u8 init_PAL[] = { |
111 | 0x00, 0x1E, /* Power up all DACs and PLL */ | 111 | 0x00, 0x1E, /* Power up all DACs and PLL */ |
112 | 0xC3, 0x26, /* Program RGB->YCrCb Color Space convertion matrix */ | 112 | 0xC3, 0x26, /* Program RGB->YCrCb Color Space conversion matrix */ |
113 | 0xC5, 0x12, /* Program RGB->YCrCb Color Space convertion matrix */ | 113 | 0xC5, 0x12, /* Program RGB->YCrCb Color Space conversion matrix */ |
114 | 0xC2, 0x4A, /* Program RGB->YCrCb Color Space convertion matrix */ | 114 | 0xC2, 0x4A, /* Program RGB->YCrCb Color Space conversion matrix */ |
115 | 0xC6, 0x5E, /* Program RGB->YCrCb Color Space convertion matrix */ | 115 | 0xC6, 0x5E, /* Program RGB->YCrCb Color Space conversion matrix */ |
116 | 0xBD, 0x19, /* Program RGB->YCrCb Color Space convertion matrix */ | 116 | 0xBD, 0x19, /* Program RGB->YCrCb Color Space conversion matrix */ |
117 | 0xBF, 0x42, /* Program RGB->YCrCb Color Space convertion matrix */ | 117 | 0xBF, 0x42, /* Program RGB->YCrCb Color Space conversion matrix */ |
118 | 0x8C, 0xCB, /* PAL Subcarrier Frequency */ | 118 | 0x8C, 0xCB, /* PAL Subcarrier Frequency */ |
119 | 0x8D, 0x8A, /* PAL Subcarrier Frequency */ | 119 | 0x8D, 0x8A, /* PAL Subcarrier Frequency */ |
120 | 0x8E, 0x09, /* PAL Subcarrier Frequency */ | 120 | 0x8E, 0x09, /* PAL Subcarrier Frequency */ |
diff --git a/drivers/video/console/font_mini_4x6.c b/drivers/video/console/font_mini_4x6.c index a19a7f33133e..fa6e698e63c4 100644 --- a/drivers/video/console/font_mini_4x6.c +++ b/drivers/video/console/font_mini_4x6.c | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | /* Hand composed "Miniscule" 4x6 font, with binary data generated using | 2 | /* Hand composed "Minuscule" 4x6 font, with binary data generated using |
3 | * Perl stub. | 3 | * Perl stub. |
4 | * | 4 | * |
5 | * Use 'perl -x mini_4x6.c < mini_4x6.c > new_version.c' to regenerate | 5 | * Use 'perl -x mini_4x6.c < mini_4x6.c > new_version.c' to regenerate |
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 8d61ef96eedd..8b7d47386f39 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c | |||
@@ -763,7 +763,7 @@ static int fb_wait_for_vsync(struct fb_info *info) | |||
763 | 763 | ||
764 | /* | 764 | /* |
765 | * Set flag to 0 and wait for isr to set to 1. It would seem there is a | 765 | * Set flag to 0 and wait for isr to set to 1. It would seem there is a |
766 | * race condition here where the ISR could have occured just before or | 766 | * race condition here where the ISR could have occurred just before or |
767 | * just after this set. But since we are just coarsely waiting for | 767 | * just after this set. But since we are just coarsely waiting for |
768 | * a frame to complete then that's OK. i.e. if the frame completed | 768 | * a frame to complete then that's OK. i.e. if the frame completed |
769 | * just before this code executed then we have to wait another full | 769 | * just before this code executed then we have to wait another full |
diff --git a/drivers/video/display/display-sysfs.c b/drivers/video/display/display-sysfs.c index f6a09ab0dac6..0c647d7af0ee 100644 --- a/drivers/video/display/display-sysfs.c +++ b/drivers/video/display/display-sysfs.c | |||
@@ -182,7 +182,7 @@ void display_device_unregister(struct display_device *ddev) | |||
182 | mutex_lock(&ddev->lock); | 182 | mutex_lock(&ddev->lock); |
183 | device_unregister(ddev->dev); | 183 | device_unregister(ddev->dev); |
184 | mutex_unlock(&ddev->lock); | 184 | mutex_unlock(&ddev->lock); |
185 | // Mark device index as avaliable | 185 | // Mark device index as available |
186 | mutex_lock(&allocated_dsp_lock); | 186 | mutex_lock(&allocated_dsp_lock); |
187 | idr_remove(&allocated_dsp, ddev->idx); | 187 | idr_remove(&allocated_dsp, ddev->idx); |
188 | mutex_unlock(&allocated_dsp_lock); | 188 | mutex_unlock(&allocated_dsp_lock); |
diff --git a/drivers/video/ep93xx-fb.c b/drivers/video/ep93xx-fb.c index b358d045f130..cbdb1bd77c21 100644 --- a/drivers/video/ep93xx-fb.c +++ b/drivers/video/ep93xx-fb.c | |||
@@ -456,7 +456,7 @@ static int __init ep93xxfb_alloc_videomem(struct fb_info *info) | |||
456 | * There is a bug in the ep93xx framebuffer which causes problems | 456 | * There is a bug in the ep93xx framebuffer which causes problems |
457 | * if bit 27 of the physical address is set. | 457 | * if bit 27 of the physical address is set. |
458 | * See: http://marc.info/?l=linux-arm-kernel&m=110061245502000&w=2 | 458 | * See: http://marc.info/?l=linux-arm-kernel&m=110061245502000&w=2 |
459 | * There does not seem to be any offical errata for this, but I | 459 | * There does not seem to be any official errata for this, but I |
460 | * have confirmed the problem exists on my hardware (ep9315) at | 460 | * have confirmed the problem exists on my hardware (ep9315) at |
461 | * least. | 461 | * least. |
462 | */ | 462 | */ |
diff --git a/drivers/video/fbsysfs.c b/drivers/video/fbsysfs.c index f4a32779168b..04251ce89184 100644 --- a/drivers/video/fbsysfs.c +++ b/drivers/video/fbsysfs.c | |||
@@ -33,7 +33,7 @@ | |||
33 | * for driver private data (info->par). info->par (if any) will be | 33 | * for driver private data (info->par). info->par (if any) will be |
34 | * aligned to sizeof(long). | 34 | * aligned to sizeof(long). |
35 | * | 35 | * |
36 | * Returns the new structure, or NULL if an error occured. | 36 | * Returns the new structure, or NULL if an error occurred. |
37 | * | 37 | * |
38 | */ | 38 | */ |
39 | struct fb_info *framebuffer_alloc(size_t size, struct device *dev) | 39 | struct fb_info *framebuffer_alloc(size_t size, struct device *dev) |
diff --git a/drivers/video/fm2fb.c b/drivers/video/fm2fb.c index 1b0feb8e7244..d0533b7aad79 100644 --- a/drivers/video/fm2fb.c +++ b/drivers/video/fm2fb.c | |||
@@ -45,7 +45,7 @@ | |||
45 | * buffer needs an amount of memory of 1.769.472 bytes which | 45 | * buffer needs an amount of memory of 1.769.472 bytes which |
46 | * is near to 2 MByte (the allocated address space of Zorro2). | 46 | * is near to 2 MByte (the allocated address space of Zorro2). |
47 | * The memory is channel interleaved. That means every channel | 47 | * The memory is channel interleaved. That means every channel |
48 | * owns four VRAMs. Unfortunatly most FrameMasters II are | 48 | * owns four VRAMs. Unfortunately most FrameMasters II are |
49 | * not assembled with memory for the alpha channel. In this | 49 | * not assembled with memory for the alpha channel. In this |
50 | * case it could be possible to add the frame buffer into the | 50 | * case it could be possible to add the frame buffer into the |
51 | * normal memory pool. | 51 | * normal memory pool. |
diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c index 9048f87fa8c1..bedf5be27f05 100644 --- a/drivers/video/fsl-diu-fb.c +++ b/drivers/video/fsl-diu-fb.c | |||
@@ -882,7 +882,7 @@ static inline __u32 CNVT_TOHW(__u32 val, __u32 width) | |||
882 | * which needs to be scaled in this function for the hardware. Things to take | 882 | * which needs to be scaled in this function for the hardware. Things to take |
883 | * into consideration are how many color registers, if any, are supported with | 883 | * into consideration are how many color registers, if any, are supported with |
884 | * the current color visual. With truecolor mode no color palettes are | 884 | * the current color visual. With truecolor mode no color palettes are |
885 | * supported. Here a psuedo palette is created which we store the value in | 885 | * supported. Here a pseudo palette is created which we store the value in |
886 | * pseudo_palette in struct fb_info. For pseudocolor mode we have a limited | 886 | * pseudo_palette in struct fb_info. For pseudocolor mode we have a limited |
887 | * color palette. | 887 | * color palette. |
888 | */ | 888 | */ |
diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index 933899dca33a..7e7b7a9ba274 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c | |||
@@ -721,7 +721,7 @@ static int gbefb_set_par(struct fb_info *info) | |||
721 | 721 | ||
722 | Tiles have the advantage that they can be allocated individually in | 722 | Tiles have the advantage that they can be allocated individually in |
723 | memory. However, this mapping is not linear at all, which is not | 723 | memory. However, this mapping is not linear at all, which is not |
724 | really convienient. In order to support linear addressing, the GBE | 724 | really convenient. In order to support linear addressing, the GBE |
725 | DMA hardware is fooled into thinking the screen is only one tile | 725 | DMA hardware is fooled into thinking the screen is only one tile |
726 | large and but has a greater height, so that the DMA transfer covers | 726 | large and but has a greater height, so that the DMA transfer covers |
727 | the same region. | 727 | the same region. |
diff --git a/drivers/video/geode/lxfb.h b/drivers/video/geode/lxfb.h index be8ccb47ebe0..cfcd8090f313 100644 --- a/drivers/video/geode/lxfb.h +++ b/drivers/video/geode/lxfb.h | |||
@@ -117,7 +117,7 @@ enum gp_registers { | |||
117 | }; | 117 | }; |
118 | 118 | ||
119 | #define GP_BLT_STATUS_CE (1 << 4) /* cmd buf empty */ | 119 | #define GP_BLT_STATUS_CE (1 << 4) /* cmd buf empty */ |
120 | #define GP_BLT_STATUS_PB (1 << 0) /* primative busy */ | 120 | #define GP_BLT_STATUS_PB (1 << 0) /* primitive busy */ |
121 | 121 | ||
122 | 122 | ||
123 | /* Display Controller registers (table 6-47 from the data book) */ | 123 | /* Display Controller registers (table 6-47 from the data book) */ |
diff --git a/drivers/video/i810/i810_accel.c b/drivers/video/i810/i810_accel.c index f5bedee4310a..7672d2ea9b35 100644 --- a/drivers/video/i810/i810_accel.c +++ b/drivers/video/i810/i810_accel.c | |||
@@ -112,7 +112,7 @@ static inline int wait_for_engine_idle(struct fb_info *info) | |||
112 | * @par: pointer to i810fb_par structure | 112 | * @par: pointer to i810fb_par structure |
113 | * | 113 | * |
114 | * DESCRIPTION: | 114 | * DESCRIPTION: |
115 | * Checks/waits for sufficent space in ringbuffer of size | 115 | * Checks/waits for sufficient space in ringbuffer of size |
116 | * space. Returns the tail of the buffer | 116 | * space. Returns the tail of the buffer |
117 | */ | 117 | */ |
118 | static inline u32 begin_iring(struct fb_info *info, u32 space) | 118 | static inline u32 begin_iring(struct fb_info *info, u32 space) |
diff --git a/drivers/video/kyro/STG4000OverlayDevice.c b/drivers/video/kyro/STG4000OverlayDevice.c index a8c9713413e6..0aeeaa10708b 100644 --- a/drivers/video/kyro/STG4000OverlayDevice.c +++ b/drivers/video/kyro/STG4000OverlayDevice.c | |||
@@ -417,7 +417,7 @@ int SetOverlayViewPort(volatile STG4000REG __iomem *pSTGReg, | |||
417 | /***************** Horizontal decimation/scaling ***************************/ | 417 | /***************** Horizontal decimation/scaling ***************************/ |
418 | 418 | ||
419 | /* | 419 | /* |
420 | * Now we handle the horizontal case, this is a simplified verison of | 420 | * Now we handle the horizontal case, this is a simplified version of |
421 | * the vertical case in that we decimate by factors of 2. as we are | 421 | * the vertical case in that we decimate by factors of 2. as we are |
422 | * working in words we should always be able to decimate by these | 422 | * working in words we should always be able to decimate by these |
423 | * factors. as we always have to have a buffer which is aligned to a | 423 | * factors. as we always have to have a buffer which is aligned to a |
diff --git a/drivers/video/kyro/STG4000Reg.h b/drivers/video/kyro/STG4000Reg.h index 244549e61368..5d6269882589 100644 --- a/drivers/video/kyro/STG4000Reg.h +++ b/drivers/video/kyro/STG4000Reg.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | /* | 17 | /* |
18 | * Macros that access memory mapped card registers in PCI space | 18 | * Macros that access memory mapped card registers in PCI space |
19 | * Add an appropraite section for your OS or processor architecture. | 19 | * Add an appropriate section for your OS or processor architecture. |
20 | */ | 20 | */ |
21 | #if defined(__KERNEL__) | 21 | #if defined(__KERNEL__) |
22 | #include <asm/page.h> | 22 | #include <asm/page.h> |
diff --git a/drivers/video/matrox/matroxfb_DAC1064.h b/drivers/video/matrox/matroxfb_DAC1064.h index c6ed7801efe2..1e6e45b57b78 100644 --- a/drivers/video/matrox/matroxfb_DAC1064.h +++ b/drivers/video/matrox/matroxfb_DAC1064.h | |||
@@ -46,7 +46,7 @@ void DAC1064_global_restore(struct matrox_fb_info *minfo); | |||
46 | #define M1064_XDVICLKCTRL_DVILOOPCTL 0x30 | 46 | #define M1064_XDVICLKCTRL_DVILOOPCTL 0x30 |
47 | /* CRTC2 pixel clock allowed to(0)/blocked from(1) driving CRTC2 */ | 47 | /* CRTC2 pixel clock allowed to(0)/blocked from(1) driving CRTC2 */ |
48 | #define M1064_XDVICLKCTRL_C2DVICLKEN 0x40 | 48 | #define M1064_XDVICLKCTRL_C2DVICLKEN 0x40 |
49 | /* P1PLL loop filter bandwith selection */ | 49 | /* P1PLL loop filter bandwidth selection */ |
50 | #define M1064_XDVICLKCTRL_P1LOOPBWDTCTL 0x80 | 50 | #define M1064_XDVICLKCTRL_P1LOOPBWDTCTL 0x80 |
51 | #define M1064_XCURCOL0RED 0x08 | 51 | #define M1064_XCURCOL0RED 0x08 |
52 | #define M1064_XCURCOL0GREEN 0x09 | 52 | #define M1064_XCURCOL0GREEN 0x09 |
diff --git a/drivers/video/matrox/matroxfb_Ti3026.c b/drivers/video/matrox/matroxfb_Ti3026.c index 835aaaae6b96..9a44cec394b5 100644 --- a/drivers/video/matrox/matroxfb_Ti3026.c +++ b/drivers/video/matrox/matroxfb_Ti3026.c | |||
@@ -387,7 +387,7 @@ static int Ti3026_init(struct matrox_fb_info *minfo, struct my_timming *m) | |||
387 | hw->DACreg[POS3026_XMISCCTRL] = TVP3026_XMISCCTRL_DAC_PUP | TVP3026_XMISCCTRL_DAC_8BIT | TVP3026_XMISCCTRL_PSEL_DIS | TVP3026_XMISCCTRL_PSEL_LOW; | 387 | hw->DACreg[POS3026_XMISCCTRL] = TVP3026_XMISCCTRL_DAC_PUP | TVP3026_XMISCCTRL_DAC_8BIT | TVP3026_XMISCCTRL_PSEL_DIS | TVP3026_XMISCCTRL_PSEL_LOW; |
388 | break; | 388 | break; |
389 | case 16: | 389 | case 16: |
390 | /* XLATCHCTRL should be _4_1 / _2_1... Why is not? (_2_1 is used everytime) */ | 390 | /* XLATCHCTRL should be _4_1 / _2_1... Why is not? (_2_1 is used every time) */ |
391 | hw->DACreg[POS3026_XTRUECOLORCTRL] = (minfo->fbcon.var.green.length == 5) ? (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_ORGB_1555) : (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_RGB_565); | 391 | hw->DACreg[POS3026_XTRUECOLORCTRL] = (minfo->fbcon.var.green.length == 5) ? (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_ORGB_1555) : (TVP3026_XTRUECOLORCTRL_DIRECTCOLOR | TVP3026_XTRUECOLORCTRL_RGB_565); |
392 | hw->DACreg[POS3026_XMUXCTRL] = muxctrl | TVP3026_XMUXCTRL_PIXEL_16BIT; | 392 | hw->DACreg[POS3026_XMUXCTRL] = muxctrl | TVP3026_XMUXCTRL_PIXEL_16BIT; |
393 | hw->DACreg[POS3026_XCLKCTRL] = TVP3026_XCLKCTRL_SRC_PLL | TVP3026_XCLKCTRL_DIV2; | 393 | hw->DACreg[POS3026_XCLKCTRL] = TVP3026_XCLKCTRL_SRC_PLL | TVP3026_XCLKCTRL_DIV2; |
@@ -399,7 +399,7 @@ static int Ti3026_init(struct matrox_fb_info *minfo, struct my_timming *m) | |||
399 | hw->DACreg[POS3026_XCLKCTRL] = TVP3026_XCLKCTRL_SRC_PLL | TVP3026_XCLKCTRL_DIV4; | 399 | hw->DACreg[POS3026_XCLKCTRL] = TVP3026_XCLKCTRL_SRC_PLL | TVP3026_XCLKCTRL_DIV4; |
400 | break; | 400 | break; |
401 | case 32: | 401 | case 32: |
402 | /* XLATCHCTRL should be _2_1 / _1_1... Why is not? (_2_1 is used everytime) */ | 402 | /* XLATCHCTRL should be _2_1 / _1_1... Why is not? (_2_1 is used every time) */ |
403 | hw->DACreg[POS3026_XMUXCTRL] = muxctrl | TVP3026_XMUXCTRL_PIXEL_32BIT; | 403 | hw->DACreg[POS3026_XMUXCTRL] = muxctrl | TVP3026_XMUXCTRL_PIXEL_32BIT; |
404 | break; | 404 | break; |
405 | default: | 405 | default: |
diff --git a/drivers/video/matrox/matroxfb_base.c b/drivers/video/matrox/matroxfb_base.c index 5ce6fa6e59f0..44bf8d4a216b 100644 --- a/drivers/video/matrox/matroxfb_base.c +++ b/drivers/video/matrox/matroxfb_base.c | |||
@@ -621,7 +621,7 @@ static int matroxfb_decode_var(const struct matrox_fb_info *minfo, | |||
621 | var->yoffset = var->yres_virtual - var->yres; | 621 | var->yoffset = var->yres_virtual - var->yres; |
622 | 622 | ||
623 | if (bpp == 16 && var->green.length == 5) { | 623 | if (bpp == 16 && var->green.length == 5) { |
624 | bpp--; /* an artifical value - 15 */ | 624 | bpp--; /* an artificial value - 15 */ |
625 | } | 625 | } |
626 | 626 | ||
627 | for (rgbt = table; rgbt->bpp < bpp; rgbt++); | 627 | for (rgbt = table; rgbt->bpp < bpp; rgbt++); |
diff --git a/drivers/video/matrox/matroxfb_base.h b/drivers/video/matrox/matroxfb_base.h index f96a471cb1a8..11ed57bb704e 100644 --- a/drivers/video/matrox/matroxfb_base.h +++ b/drivers/video/matrox/matroxfb_base.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #undef MATROXFB_DEBUG | 12 | #undef MATROXFB_DEBUG |
13 | 13 | ||
14 | /* heavy debugging: */ | 14 | /* heavy debugging: */ |
15 | /* -- logs putc[s], so everytime a char is displayed, it's logged */ | 15 | /* -- logs putc[s], so every time a char is displayed, it's logged */ |
16 | #undef MATROXFB_DEBUG_HEAVY | 16 | #undef MATROXFB_DEBUG_HEAVY |
17 | 17 | ||
18 | /* This one _could_ cause infinite loops */ | 18 | /* This one _could_ cause infinite loops */ |
diff --git a/drivers/video/nuc900fb.h b/drivers/video/nuc900fb.h index 6c23aa3d3b89..bc7c9300f276 100644 --- a/drivers/video/nuc900fb.h +++ b/drivers/video/nuc900fb.h | |||
@@ -8,7 +8,7 @@ | |||
8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * the Free Software Foundation; either version 2 of the License, or |
9 | * (at your option) any later version. | 9 | * (at your option) any later version. |
10 | * | 10 | * |
11 | * Auther: | 11 | * Author: |
12 | * Wang Qiang(rurality.linux@gmail.com) 2009/12/16 | 12 | * Wang Qiang(rurality.linux@gmail.com) 2009/12/16 |
13 | */ | 13 | */ |
14 | 14 | ||
diff --git a/drivers/video/omap/Kconfig b/drivers/video/omap/Kconfig index 15e7f1912af9..196fa2e7f438 100644 --- a/drivers/video/omap/Kconfig +++ b/drivers/video/omap/Kconfig | |||
@@ -64,7 +64,7 @@ config FB_OMAP_MANUAL_UPDATE | |||
64 | depends on FB_OMAP && FB_OMAP_LCDC_EXTERNAL | 64 | depends on FB_OMAP && FB_OMAP_LCDC_EXTERNAL |
65 | help | 65 | help |
66 | Say Y here, if your user-space applications are capable of | 66 | Say Y here, if your user-space applications are capable of |
67 | notifying the frame buffer driver when a change has occured in | 67 | notifying the frame buffer driver when a change has occurred in |
68 | the frame buffer content and thus a reload of the image data to | 68 | the frame buffer content and thus a reload of the image data to |
69 | the external frame buffer is required. If unsure, say N. | 69 | the external frame buffer is required. If unsure, say N. |
70 | 70 | ||
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 0d44f070ef36..a981def8099a 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c | |||
@@ -587,7 +587,7 @@ static void get_edid_timing_data(u8 *edid) | |||
587 | struct hdmi_cm cm; | 587 | struct hdmi_cm cm; |
588 | struct omap_video_timings edid_timings; | 588 | struct omap_video_timings edid_timings; |
589 | 589 | ||
590 | /* seach block 0, there are 4 DTDs arranged in priority order */ | 590 | /* search block 0, there are 4 DTDs arranged in priority order */ |
591 | for (count = 0; count < EDID_SIZE_BLOCK0_TIMING_DESCRIPTOR; count++) { | 591 | for (count = 0; count < EDID_SIZE_BLOCK0_TIMING_DESCRIPTOR; count++) { |
592 | current_descriptor_addrs = | 592 | current_descriptor_addrs = |
593 | EDID_DESCRIPTOR_BLOCK0_ADDRESS + | 593 | EDID_DESCRIPTOR_BLOCK0_ADDRESS + |
diff --git a/drivers/video/pxa3xx-gcu.c b/drivers/video/pxa3xx-gcu.c index cf4beb9dc9bb..0283c7021090 100644 --- a/drivers/video/pxa3xx-gcu.c +++ b/drivers/video/pxa3xx-gcu.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | /* | 26 | /* |
27 | * WARNING: This controller is attached to System Bus 2 of the PXA which | 27 | * WARNING: This controller is attached to System Bus 2 of the PXA which |
28 | * needs its arbiter to be enabled explictly (CKENB & 1<<9). | 28 | * needs its arbiter to be enabled explicitly (CKENB & 1<<9). |
29 | * There is currently no way to do this from Linux, so you need to teach | 29 | * There is currently no way to do this from Linux, so you need to teach |
30 | * your bootloader for now. | 30 | * your bootloader for now. |
31 | */ | 31 | */ |
diff --git a/drivers/video/savage/savagefb.h b/drivers/video/savage/savagefb.h index e4c3f214eb8e..4e9490c19d7d 100644 --- a/drivers/video/savage/savagefb.h +++ b/drivers/video/savage/savagefb.h | |||
@@ -153,7 +153,7 @@ struct savage_reg { | |||
153 | unsigned char CRTC[25]; /* Crtc Controller */ | 153 | unsigned char CRTC[25]; /* Crtc Controller */ |
154 | unsigned char Sequencer[5]; /* Video Sequencer */ | 154 | unsigned char Sequencer[5]; /* Video Sequencer */ |
155 | unsigned char Graphics[9]; /* Video Graphics */ | 155 | unsigned char Graphics[9]; /* Video Graphics */ |
156 | unsigned char Attribute[21]; /* Video Atribute */ | 156 | unsigned char Attribute[21]; /* Video Attribute */ |
157 | 157 | ||
158 | unsigned int mode, refresh; | 158 | unsigned int mode, refresh; |
159 | unsigned char SR08, SR0E, SR0F; | 159 | unsigned char SR08, SR0E, SR0F; |
diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c index 487911e2926c..a2dc1a7ec758 100644 --- a/drivers/video/savage/savagefb_driver.c +++ b/drivers/video/savage/savagefb_driver.c | |||
@@ -385,7 +385,7 @@ SavageSetup2DEngine(struct savagefb_par *par) | |||
385 | BCI_SEND(GlobalBitmapDescriptor); | 385 | BCI_SEND(GlobalBitmapDescriptor); |
386 | 386 | ||
387 | /* | 387 | /* |
388 | * I don't know why, sending this twice fixes the intial black screen, | 388 | * I don't know why, sending this twice fixes the initial black screen, |
389 | * prevents X from crashing at least in Toshiba laptops with SavageIX. | 389 | * prevents X from crashing at least in Toshiba laptops with SavageIX. |
390 | * --Tony | 390 | * --Tony |
391 | */ | 391 | */ |
@@ -2211,7 +2211,7 @@ static int __devinit savagefb_probe(struct pci_dev* dev, | |||
2211 | goto failed_mmio; | 2211 | goto failed_mmio; |
2212 | 2212 | ||
2213 | video_len = savage_init_hw(par); | 2213 | video_len = savage_init_hw(par); |
2214 | /* FIXME: cant be negative */ | 2214 | /* FIXME: can't be negative */ |
2215 | if (video_len < 0) { | 2215 | if (video_len < 0) { |
2216 | err = video_len; | 2216 | err = video_len; |
2217 | goto failed_mmio; | 2217 | goto failed_mmio; |
diff --git a/drivers/video/sm501fb.c b/drivers/video/sm501fb.c index 46d1a64fe80d..56ef6b3a9851 100644 --- a/drivers/video/sm501fb.c +++ b/drivers/video/sm501fb.c | |||
@@ -265,7 +265,7 @@ static unsigned long sm501fb_ps_to_hz(unsigned long psvalue) | |||
265 | return (unsigned long)numerator; | 265 | return (unsigned long)numerator; |
266 | } | 266 | } |
267 | 267 | ||
268 | /* sm501fb_hz_to_ps is identical to the oposite transform */ | 268 | /* sm501fb_hz_to_ps is identical to the opposite transform */ |
269 | 269 | ||
270 | #define sm501fb_hz_to_ps(x) sm501fb_ps_to_hz(x) | 270 | #define sm501fb_hz_to_ps(x) sm501fb_ps_to_hz(x) |
271 | 271 | ||
@@ -1719,7 +1719,7 @@ static int sm501fb_init_fb(struct fb_info *fb, | |||
1719 | (head == HEAD_CRT) ? &sm501fb_ops_crt : &sm501fb_ops_pnl, | 1719 | (head == HEAD_CRT) ? &sm501fb_ops_crt : &sm501fb_ops_pnl, |
1720 | sizeof(struct fb_ops)); | 1720 | sizeof(struct fb_ops)); |
1721 | 1721 | ||
1722 | /* update ops dependant on what we've been passed */ | 1722 | /* update ops dependent on what we've been passed */ |
1723 | 1723 | ||
1724 | if ((pd->flags & SM501FB_FLAG_USE_HWCURSOR) == 0) | 1724 | if ((pd->flags & SM501FB_FLAG_USE_HWCURSOR) == 0) |
1725 | par->ops.fb_cursor = NULL; | 1725 | par->ops.fb_cursor = NULL; |
diff --git a/drivers/video/sstfb.c b/drivers/video/sstfb.c index 2ab704118c44..2301c275d63a 100644 --- a/drivers/video/sstfb.c +++ b/drivers/video/sstfb.c | |||
@@ -221,7 +221,7 @@ static int __sst_wait_idle(u8 __iomem *vbase) | |||
221 | while(1) { | 221 | while(1) { |
222 | if (__sst_read(vbase, STATUS) & STATUS_FBI_BUSY) { | 222 | if (__sst_read(vbase, STATUS) & STATUS_FBI_BUSY) { |
223 | f_dddprintk("status: busy\n"); | 223 | f_dddprintk("status: busy\n"); |
224 | /* FIXME basicaly, this is a busy wait. maybe not that good. oh well; | 224 | /* FIXME basically, this is a busy wait. maybe not that good. oh well; |
225 | * this is a small loop after all. | 225 | * this is a small loop after all. |
226 | * Or maybe we should use mdelay() or udelay() here instead ? */ | 226 | * Or maybe we should use mdelay() or udelay() here instead ? */ |
227 | count = 0; | 227 | count = 0; |
@@ -501,7 +501,7 @@ static int sstfb_set_par(struct fb_info *info) | |||
501 | } | 501 | } |
502 | 502 | ||
503 | if (IS_VOODOO2(par)) { | 503 | if (IS_VOODOO2(par)) { |
504 | /* voodoo2 has 32 pixel wide tiles , BUT stange things | 504 | /* voodoo2 has 32 pixel wide tiles , BUT strange things |
505 | happen with odd number of tiles */ | 505 | happen with odd number of tiles */ |
506 | par->tiles_in_X = (info->var.xres + 63 ) / 64 * 2; | 506 | par->tiles_in_X = (info->var.xres + 63 ) / 64 * 2; |
507 | } else { | 507 | } else { |
@@ -920,11 +920,11 @@ static int __devinit sst_detect_ti(struct fb_info *info) | |||
920 | * we get the 1st byte (M value) of preset f1,f7 and fB | 920 | * we get the 1st byte (M value) of preset f1,f7 and fB |
921 | * why those 3 ? mmmh... for now, i'll do it the glide way... | 921 | * why those 3 ? mmmh... for now, i'll do it the glide way... |
922 | * and ask questions later. anyway, it seems that all the freq registers are | 922 | * and ask questions later. anyway, it seems that all the freq registers are |
923 | * realy at their default state (cf specs) so i ask again, why those 3 regs ? | 923 | * really at their default state (cf specs) so i ask again, why those 3 regs ? |
924 | * mmmmh.. it seems that's much more ugly than i thought. we use f0 and fA for | 924 | * mmmmh.. it seems that's much more ugly than i thought. we use f0 and fA for |
925 | * pll programming, so in fact, we *hope* that the f1, f7 & fB won't be | 925 | * pll programming, so in fact, we *hope* that the f1, f7 & fB won't be |
926 | * touched... | 926 | * touched... |
927 | * is it realy safe ? how can i reset this ramdac ? geee... | 927 | * is it really safe ? how can i reset this ramdac ? geee... |
928 | */ | 928 | */ |
929 | static int __devinit sst_detect_ics(struct fb_info *info) | 929 | static int __devinit sst_detect_ics(struct fb_info *info) |
930 | { | 930 | { |
diff --git a/drivers/video/sticore.h b/drivers/video/sticore.h index 7fe5be4bc70e..addf7b615ef8 100644 --- a/drivers/video/sticore.h +++ b/drivers/video/sticore.h | |||
@@ -79,7 +79,7 @@ struct sti_glob_cfg_ext { | |||
79 | u8 curr_mon; /* current monitor configured */ | 79 | u8 curr_mon; /* current monitor configured */ |
80 | u8 friendly_boot; /* in friendly boot mode */ | 80 | u8 friendly_boot; /* in friendly boot mode */ |
81 | s16 power; /* power calculation (in Watts) */ | 81 | s16 power; /* power calculation (in Watts) */ |
82 | s32 freq_ref; /* frequency refrence */ | 82 | s32 freq_ref; /* frequency reference */ |
83 | u32 sti_mem_addr; /* pointer to global sti memory (size=sti_mem_request) */ | 83 | u32 sti_mem_addr; /* pointer to global sti memory (size=sti_mem_request) */ |
84 | u32 future_ptr; /* pointer to future data */ | 84 | u32 future_ptr; /* pointer to future data */ |
85 | }; | 85 | }; |
diff --git a/drivers/video/tdfxfb.c b/drivers/video/tdfxfb.c index 3ee5e63cfa4f..a99b994c9b6b 100644 --- a/drivers/video/tdfxfb.c +++ b/drivers/video/tdfxfb.c | |||
@@ -877,12 +877,12 @@ static void tdfxfb_fillrect(struct fb_info *info, | |||
877 | else | 877 | else |
878 | tdfx_rop = TDFX_ROP_XOR; | 878 | tdfx_rop = TDFX_ROP_XOR; |
879 | 879 | ||
880 | /* asume always rect->height < 4096 */ | 880 | /* assume always rect->height < 4096 */ |
881 | if (dy + rect->height > 4095) { | 881 | if (dy + rect->height > 4095) { |
882 | dstbase = stride * dy; | 882 | dstbase = stride * dy; |
883 | dy = 0; | 883 | dy = 0; |
884 | } | 884 | } |
885 | /* asume always rect->width < 4096 */ | 885 | /* assume always rect->width < 4096 */ |
886 | if (dx + rect->width > 4095) { | 886 | if (dx + rect->width > 4095) { |
887 | dstbase += dx * bpp >> 3; | 887 | dstbase += dx * bpp >> 3; |
888 | dx = 0; | 888 | dx = 0; |
@@ -915,22 +915,22 @@ static void tdfxfb_copyarea(struct fb_info *info, | |||
915 | u32 dstbase = 0; | 915 | u32 dstbase = 0; |
916 | u32 srcbase = 0; | 916 | u32 srcbase = 0; |
917 | 917 | ||
918 | /* asume always area->height < 4096 */ | 918 | /* assume always area->height < 4096 */ |
919 | if (sy + area->height > 4095) { | 919 | if (sy + area->height > 4095) { |
920 | srcbase = stride * sy; | 920 | srcbase = stride * sy; |
921 | sy = 0; | 921 | sy = 0; |
922 | } | 922 | } |
923 | /* asume always area->width < 4096 */ | 923 | /* assume always area->width < 4096 */ |
924 | if (sx + area->width > 4095) { | 924 | if (sx + area->width > 4095) { |
925 | srcbase += sx * bpp >> 3; | 925 | srcbase += sx * bpp >> 3; |
926 | sx = 0; | 926 | sx = 0; |
927 | } | 927 | } |
928 | /* asume always area->height < 4096 */ | 928 | /* assume always area->height < 4096 */ |
929 | if (dy + area->height > 4095) { | 929 | if (dy + area->height > 4095) { |
930 | dstbase = stride * dy; | 930 | dstbase = stride * dy; |
931 | dy = 0; | 931 | dy = 0; |
932 | } | 932 | } |
933 | /* asume always area->width < 4096 */ | 933 | /* assume always area->width < 4096 */ |
934 | if (dx + area->width > 4095) { | 934 | if (dx + area->width > 4095) { |
935 | dstbase += dx * bpp >> 3; | 935 | dstbase += dx * bpp >> 3; |
936 | dx = 0; | 936 | dx = 0; |
@@ -1003,12 +1003,12 @@ static void tdfxfb_imageblit(struct fb_info *info, const struct fb_image *image) | |||
1003 | #else | 1003 | #else |
1004 | srcfmt = 0x400000; | 1004 | srcfmt = 0x400000; |
1005 | #endif | 1005 | #endif |
1006 | /* asume always image->height < 4096 */ | 1006 | /* assume always image->height < 4096 */ |
1007 | if (dy + image->height > 4095) { | 1007 | if (dy + image->height > 4095) { |
1008 | dstbase = stride * dy; | 1008 | dstbase = stride * dy; |
1009 | dy = 0; | 1009 | dy = 0; |
1010 | } | 1010 | } |
1011 | /* asume always image->width < 4096 */ | 1011 | /* assume always image->width < 4096 */ |
1012 | if (dx + image->width > 4095) { | 1012 | if (dx + image->width > 4095) { |
1013 | dstbase += dx * bpp >> 3; | 1013 | dstbase += dx * bpp >> 3; |
1014 | dx = 0; | 1014 | dx = 0; |
@@ -1124,7 +1124,7 @@ static int tdfxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) | |||
1124 | * lower half (least significant 64 bits) of a 128 bit word | 1124 | * lower half (least significant 64 bits) of a 128 bit word |
1125 | * and pattern 1 the upper half. If you examine the data of | 1125 | * and pattern 1 the upper half. If you examine the data of |
1126 | * the cursor image the graphics card uses then from the | 1126 | * the cursor image the graphics card uses then from the |
1127 | * begining you see line one of pattern 0, line one of | 1127 | * beginning you see line one of pattern 0, line one of |
1128 | * pattern 1, line two of pattern 0, line two of pattern 1, | 1128 | * pattern 1, line two of pattern 0, line two of pattern 1, |
1129 | * etc etc. The linear stride for the cursor is always 16 bytes | 1129 | * etc etc. The linear stride for the cursor is always 16 bytes |
1130 | * (128 bits) which is the maximum cursor width times two for | 1130 | * (128 bits) which is the maximum cursor width times two for |
diff --git a/drivers/video/tmiofb.c b/drivers/video/tmiofb.c index 9710bf8caeae..0c341d739604 100644 --- a/drivers/video/tmiofb.c +++ b/drivers/video/tmiofb.c | |||
@@ -359,7 +359,7 @@ tmiofb_acc_wait(struct fb_info *info, unsigned int ccs) | |||
359 | { | 359 | { |
360 | struct tmiofb_par *par = info->par; | 360 | struct tmiofb_par *par = info->par; |
361 | /* | 361 | /* |
362 | * This code can be called whith interrupts disabled. | 362 | * This code can be called with interrupts disabled. |
363 | * So instead of relaying on irq to trigger the event, | 363 | * So instead of relaying on irq to trigger the event, |
364 | * poll the state till the necessary command is executed. | 364 | * poll the state till the necessary command is executed. |
365 | */ | 365 | */ |
diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c index 2c8364e9b632..68041d9dc260 100644 --- a/drivers/video/udlfb.c +++ b/drivers/video/udlfb.c | |||
@@ -769,7 +769,7 @@ static int dlfb_ops_ioctl(struct fb_info *info, unsigned int cmd, | |||
769 | 769 | ||
770 | /* | 770 | /* |
771 | * If we have a damage-aware client, turn fb_defio "off" | 771 | * If we have a damage-aware client, turn fb_defio "off" |
772 | * To avoid perf imact of unecessary page fault handling. | 772 | * To avoid perf imact of unnecessary page fault handling. |
773 | * Done by resetting the delay for this fb_info to a very | 773 | * Done by resetting the delay for this fb_info to a very |
774 | * long period. Pages will become writable and stay that way. | 774 | * long period. Pages will become writable and stay that way. |
775 | * Reset to normal value when all clients have closed this fb. | 775 | * Reset to normal value when all clients have closed this fb. |
diff --git a/drivers/video/vga16fb.c b/drivers/video/vga16fb.c index 28ccab44a391..53b2c5aae067 100644 --- a/drivers/video/vga16fb.c +++ b/drivers/video/vga16fb.c | |||
@@ -152,7 +152,7 @@ static inline int setop(int op) | |||
152 | } | 152 | } |
153 | 153 | ||
154 | /* Set the Enable Set/Reset Register and return its old value. | 154 | /* Set the Enable Set/Reset Register and return its old value. |
155 | The code here always uses value 0xf for thsi register. */ | 155 | The code here always uses value 0xf for this register. */ |
156 | static inline int setsr(int sr) | 156 | static inline int setsr(int sr) |
157 | { | 157 | { |
158 | int oldsr; | 158 | int oldsr; |
diff --git a/drivers/video/via/via_utility.c b/drivers/video/via/via_utility.c index d05ccb62b55f..35458a5eadc8 100644 --- a/drivers/video/via/via_utility.c +++ b/drivers/video/via/via_utility.c | |||
@@ -174,7 +174,7 @@ void viafb_set_gamma_table(int bpp, unsigned int *gamma_table) | |||
174 | } | 174 | } |
175 | 175 | ||
176 | /* If adjust Gamma value in SAMM, fill IGA1, | 176 | /* If adjust Gamma value in SAMM, fill IGA1, |
177 | IGA2 Gamma table simultanous. */ | 177 | IGA2 Gamma table simultaneous. */ |
178 | /* Switch to IGA2 Gamma Table */ | 178 | /* Switch to IGA2 Gamma Table */ |
179 | if ((active_device_amount > 1) && | 179 | if ((active_device_amount > 1) && |
180 | !((viaparinfo->chip_info->gfx_chip_name == | 180 | !((viaparinfo->chip_info->gfx_chip_name == |
diff --git a/drivers/video/via/via_utility.h b/drivers/video/via/via_utility.h index 1670ba82143f..f23be1708c14 100644 --- a/drivers/video/via/via_utility.h +++ b/drivers/video/via/via_utility.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #ifndef __VIAUTILITY_H__ | 21 | #ifndef __VIAUTILITY_H__ |
22 | #define __VIAUTILITY_H__ | 22 | #define __VIAUTILITY_H__ |
23 | 23 | ||
24 | /* These functions are used to get infomation about device's state */ | 24 | /* These functions are used to get information about device's state */ |
25 | void viafb_get_device_support_state(u32 *support_state); | 25 | void viafb_get_device_support_state(u32 *support_state); |
26 | void viafb_get_device_connect_state(u32 *connect_state); | 26 | void viafb_get_device_connect_state(u32 *connect_state); |
27 | bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres); | 27 | bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres); |
diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c index f555b891cc72..b64818953aa7 100644 --- a/drivers/video/via/viafbdev.c +++ b/drivers/video/via/viafbdev.c | |||
@@ -2019,7 +2019,7 @@ int __init viafb_init(void) | |||
2019 | return -EINVAL; | 2019 | return -EINVAL; |
2020 | 2020 | ||
2021 | printk(KERN_INFO | 2021 | printk(KERN_INFO |
2022 | "VIA Graphics Intergration Chipset framebuffer %d.%d initializing\n", | 2022 | "VIA Graphics Integration Chipset framebuffer %d.%d initializing\n", |
2023 | VERSION_MAJOR, VERSION_MINOR); | 2023 | VERSION_MAJOR, VERSION_MINOR); |
2024 | return 0; | 2024 | return 0; |
2025 | } | 2025 | } |
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c index d8b12c32e3ef..c8be8af0cc6d 100644 --- a/drivers/video/w100fb.c +++ b/drivers/video/w100fb.c | |||
@@ -1306,7 +1306,7 @@ static void w100_init_lcd(struct w100fb_par *par) | |||
1306 | union graphic_v_disp_u graphic_v_disp; | 1306 | union graphic_v_disp_u graphic_v_disp; |
1307 | union crtc_total_u crtc_total; | 1307 | union crtc_total_u crtc_total; |
1308 | 1308 | ||
1309 | /* w3200 doesnt like undefined bits being set so zero register values first */ | 1309 | /* w3200 doesn't like undefined bits being set so zero register values first */ |
1310 | 1310 | ||
1311 | active_h_disp.val = 0; | 1311 | active_h_disp.val = 0; |
1312 | active_h_disp.f.active_h_start=mode->left_margin; | 1312 | active_h_disp.f.active_h_start=mode->left_margin; |