X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Fomap%2Fhwa742.c;h=dc48e02f215c4b2fad5944589f319aaac6521254;hb=e77e2c7f8a56458593fd2a881c44b4ec3e52e454;hp=5d92f593d44f291ac7b389206e48d7876ff27f84;hpb=22cb4ad3b46c0a7851607b76ebe4249a3d76f6f2;p=linux-2.6-omap-h63xx.git diff --git a/drivers/video/omap/hwa742.c b/drivers/video/omap/hwa742.c index 5d92f593d44..dc48e02f215 100644 --- a/drivers/video/omap/hwa742.c +++ b/drivers/video/omap/hwa742.c @@ -1,6 +1,4 @@ /* - * File: drivers/video/omap/hwa742.c - * * Epson HWA742 LCD controller driver * * Copyright (C) 2004-2005 Nokia Corporation @@ -817,7 +815,8 @@ static int setup_tearsync(unsigned long pix_clk, int extif_div) /* time to transfer one pixel (16bpp) in ps */ hwa742.pix_tx_time = hwa742.reg_timings.we_cycle_time; if (hwa742.extif->get_max_tx_rate != NULL) { - /* The external interface might have a rate limitation, + /* + * The external interface might have a rate limitation, * if so, we have to maximize our transfer rate. */ unsigned long min_tx_time; @@ -834,24 +833,30 @@ static int setup_tearsync(unsigned long pix_clk, int extif_div) hwa742.line_upd_time = (hdisp + hndp) * 1000000 / (pix_clk / 1000); hwa742.line_upd_time *= 1000; if (hdisp * hwa742.pix_tx_time > hwa742.line_upd_time) - /* transfer speed too low, we might have to use both - * HS and VS */ + /* + * transfer speed too low, we might have to use both + * HS and VS + */ use_hsvs = 1; else /* decent transfer speed, we'll always use only VS */ use_hsvs = 0; if (use_hsvs && (hs_pol_inv || vs_pol_inv)) { - /* HS or'ed with VS doesn't work, use the active high - * TE signal based on HNDP / VNDP */ + /* + * HS or'ed with VS doesn't work, use the active high + * TE signal based on HNDP / VNDP + */ use_ndp = 1; hs_pol_inv = 0; vs_pol_inv = 0; hs = hndp; vs = vndp; } else { - /* Use HS or'ed with VS as a TE signal if both are needed - * or VNDP if only vsync is needed. */ + /* + * Use HS or'ed with VS as a TE signal if both are needed + * or VNDP if only vsync is needed. + */ use_ndp = 0; hs = hsw; vs = vsw;