~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/video/omap2/dss/dispc.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
2342
2342
static bool _dispc_lcd_timings_ok(int hsw, int hfp, int hbp,
2343
2343
                int vsw, int vfp, int vbp)
2344
2344
{
2345
 
        if (cpu_is_omap24xx() || (cpu_is_omap34xx() && omap_rev_lt_3_0())) {
 
2345
        if (cpu_is_omap24xx() || omap_rev() < OMAP3430_REV_ES3_0) {
2346
2346
                if (hsw < 1 || hsw > 64 ||
2347
2347
                                hfp < 1 || hfp > 256 ||
2348
2348
                                hbp < 1 || hbp > 256 ||
2375
2375
{
2376
2376
        u32 timing_h, timing_v;
2377
2377
 
2378
 
        if (cpu_is_omap24xx() || (cpu_is_omap34xx() && omap_rev_lt_3_0())) {
 
2378
        if (cpu_is_omap24xx() || omap_rev() < OMAP3430_REV_ES3_0) {
2379
2379
                timing_h = FLD_VAL(hsw-1, 5, 0) | FLD_VAL(hfp-1, 15, 8) |
2380
2380
                        FLD_VAL(hbp-1, 27, 20);
2381
2381