1. 06 8月, 2010 6 次提交
  2. 04 8月, 2010 1 次提交
  3. 02 8月, 2010 3 次提交
    • E
      mtd: mxc_nand: fix unbalanced enable for IRQ · 6a8cfcfb
      Eric Bénard 提交于
      * preset should be done before sending the reset command
      
      * without this, I get the following error on an i.MX35 :
      [    0.900000] ------------[ cut here ]------------
      [    0.900000] WARNING: at kernel/irq/manage.c:290 __enable_irq+0x4c/0x88()
      [    0.900000] Unbalanced enable for IRQ 33
      [    0.900000] Modules linked in:
      [    0.900000] [<c002ffb8>] (unwind_backtrace+0x0/0xf0) from [<c02f7d0c>] (dump_stack+0x18/0x1c)
      [    0.900000] [<c02f7d0c>] (dump_stack+0x18/0x1c) from [<c0049a44>] (warn_slowpath_common+0x54/0x6c)
      [    0.900000] [<c0049a44>] (warn_slowpath_common+0x54/0x6c) from [<c0049b00>] (warn_slowpath_fmt+0x38/0x40)
      [    0.900000] [<c0049b00>] (warn_slowpath_fmt+0x38/0x40) from [<c008f65c>] (__enable_irq+0x4c/0x88)
      [    0.900000] [<c008f65c>] (__enable_irq+0x4c/0x88) from [<c008fca0>] (enable_irq+0x54/0x98)
      [    0.900000] [<c008fca0>] (enable_irq+0x54/0x98) from [<c021e618>] (wait_op_done+0x40/0x134)
      [    0.900000] [<c021e618>] (wait_op_done+0x40/0x134) from [<c021e808>] (send_cmd+0x30/0x38)
      [    0.900000] [<c021e808>] (send_cmd+0x30/0x38) from [<c021eb8c>] (mxc_nand_command+0x26c/0x328)
      [    0.900000] [<c021eb8c>] (mxc_nand_command+0x26c/0x328) from [<c021aa60>] (nand_scan_ident+0x188/0x6c0)
      [    0.900000] [<c021aa60>] (nand_scan_ident+0x188/0x6c0) from [<c001a9cc>] (mxcnd_probe+0x2b8/0x3d0)
      [    0.900000] [<c001a9cc>] (mxcnd_probe+0x2b8/0x3d0) from [<c01f9e88>] (platform_drv_probe+0x20/0x24)
      [    0.900000] [<c01f9e88>] (platform_drv_probe+0x20/0x24) from [<c01f8c38>] (driver_probe_device+0xb0/0x164)
      [    0.900000] [<c01f8c38>] (driver_probe_device+0xb0/0x164) from [<c01f8d54>] (__driver_attach+0x68/0x8c)
      [    0.900000] [<c01f8d54>] (__driver_attach+0x68/0x8c) from [<c01f8348>] (bus_for_each_dev+0x50/0x84)
      [    0.900000] [<c01f8348>] (bus_for_each_dev+0x50/0x84) from [<c01f8a9c>] (driver_attach+0x20/0x28)
      [    0.900000] [<c01f8a9c>] (driver_attach+0x20/0x28) from [<c01f7c00>] (bus_add_driver+0x144/0x2dc)
      [    0.900000] [<c01f7c00>] (bus_add_driver+0x144/0x2dc) from [<c01f906c>] (driver_register+0xb0/0x13c)
      [    0.900000] [<c01f906c>] (driver_register+0xb0/0x13c) from [<c01fa13c>] (platform_driver_register+0x4c/0x60)
      [    0.900000] [<c01fa13c>] (platform_driver_register+0x4c/0x60) from [<c01fa170>] (platform_driver_probe+0x20/0xa0)
      [    0.900000] [<c01fa170>] (platform_driver_probe+0x20/0xa0) from [<c001a708>] (mxc_nd_init+0x18/0x24)
      [    0.900000] [<c001a708>] (mxc_nd_init+0x18/0x24) from [<c002938c>] (do_one_initcall+0x64/0x1bc)
      [    0.900000] [<c002938c>] (do_one_initcall+0x64/0x1bc) from [<c00084c4>] (kernel_init+0xe8/0x1ac)
      [    0.900000] [<c00084c4>] (kernel_init+0xe8/0x1ac) from [<c002aee8>] (kernel_thread_exit+0x0/0x8)
      [    0.900000] ---[ end trace 8bf72ac6ba089a19 ]---
      [    1.140000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
      Signed-off-by: NEric Bénard <eric@eukrea.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      6a8cfcfb
    • U
      mtd: mxc_nand: remove unused variable · e2c84883
      Uwe Kleine-König 提交于
      This fixes:
      
      	drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_resume':
      	drivers/mtd/nand/mxc_nand.c:901: warning: unused variable 'host'
      
      Removing this variable was missed in 9c14b153.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      e2c84883
    • S
      mtd: mxc_nand: fix OOB accesses on i.MX27 · 6c499398
      Sascha Hauer 提交于
      The OOB handling in the mxc_nand driver is broken for v1 type
      controllers (i.MX27/31) with 512 byte page size. This perhaps
      did not show up because ubi does not use OOB.
      Update the driver to always read/write a whole page even if
      only OOB is requested. With this patch the driver passes the
      mtd_oobtest on i.MX27 with 512 byte page size. Also tested
      with 2048 byte page size and on i.MX35 (v2 type controller)
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      6c499398
  4. 20 5月, 2010 1 次提交
  5. 14 5月, 2010 2 次提交
  6. 27 2月, 2010 1 次提交
  7. 26 2月, 2010 1 次提交
  8. 25 2月, 2010 2 次提交
  9. 09 2月, 2010 1 次提交
  10. 07 12月, 2009 1 次提交
  11. 30 11月, 2009 1 次提交
  12. 12 11月, 2009 18 次提交
  13. 20 10月, 2009 1 次提交
  14. 17 10月, 2009 1 次提交