[linux-cirrus] Re: EP93xx patch against linux-2.6.12 is out!

  • From: Michael Burian <dynmail1@xxxxxxxxxxxxxxxxx>
  • To: linux-cirrus@xxxxxxxxxxxxx
  • Date: Thu, 07 Jul 2005 18:30:33 +0200

Robert Whaley wrote:
> Here is a 2.6.12 patch:
> 
> It seems to work about as well as 2.6.11 on the SPHERE (execpt for USB
> host, which as noted earlier doesn't work in 2.6.12 yet).

USB should be fixed
> 
> I tried to nuke every IO_ADDRESS that was ep93xx specific.
>

Thanks for the patch, I've applied it, booted and will test things tomorrow.


Why did you silence this error?


--- linux-2.6.12.2-ep93xx/drivers/mtd/mtdchar.c 2005-06-29
19:00:53.000000000 -0400
+++ linux-2.6.12.2-ep93xx-sphere/drivers/mtd/mtdchar.c  2005-07-06
10:23:18.000000000 -0400
@@ -499,7 +499,11 @@
                if (copy_from_user(&offs, argp, sizeof(loff_t)))
                        return -EFAULT;
                if (!mtd->block_isbad)
+#if 0
                        ret = -EOPNOTSUPP;
+#else
+                       ret = 0;
+#endif
                else
                        return mtd->block_isbad(mtd, offs);
                break;

Other related posts: