1. 23 10月, 2008 1 次提交
    • D
      [ARM] 5316/1: AT91: oops (regression) fix on gpio irq · 085eefb5
      David Brownell 提交于
      From: David Brownell <dbrownell@users.sourceforge.net>
      
      The "5298/1: Drop desc_handle_irq()" patch went overboard
      and deleted an essential line of code, causing all AT91
      GPIO interrupts to oops (in irq).  Trimmed example:
      
      Unable to handle kernel NULL pointer dereference at virtual address 000000c4
      ...
      PC is at gpio_irq_handler+0x78/0xd0
      LR is at gpio_irq_handler+0x38/0xd0
      ...
      Backtrace:
      [<c0029884>] (gpio_irq_handler+0x0/0xd0) from [<c0020054>] (__exception_text_start+0x54/0x7c)
      [<c0020000>] (__exception_text_start+0x0/0x7c) from [<c00209ec>] (__irq_svc+0x2c/0x60)
      Exception stack(0xc1c1de00 to 0xc1c1de48)
      [<c01f4ca8>] (_spin_unlock_irq+0x0/0x3c) from [<c01389f8>] (at91ether_open+0x220/0x318)
      [<c01387d8>] (at91ether_open+0x0/0x318) from [<c018caa4>] (dev_open+0xa8/0x10c)
      [<c018c9fc>] (dev_open+0x0/0x10c) from [<c018b874>] (dev_change_flags+0x98/0x164)
      [<c018b7dc>] (dev_change_flags+0x0/0x164) from [<c0019f8c>] (ip_auto_config+0x164/0xe28)
      [<c0019e28>] (ip_auto_config+0x0/0xe28) from [<c0020318>] (__exception_text_end+0x60/0x180)
      [<c00202b8>] (__exception_text_end+0x0/0x180) from [<c0008738>] (kernel_init+0x70/0xd8)
      [<c00086c8>] (kernel_init+0x0/0xd8) from [<c00398e0>] (do_exit+0x0/0x6ac)
      
      This patch restores the missing line'o'code.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      085eefb5
  2. 09 10月, 2008 1 次提交
  3. 29 9月, 2008 2 次提交
  4. 22 9月, 2008 8 次提交
  5. 19 9月, 2008 3 次提交
  6. 06 9月, 2008 1 次提交
  7. 07 8月, 2008 3 次提交
  8. 01 8月, 2008 1 次提交
    • P
      Fix rename of at91_nand -> atmel_nand · f6ed6f78
      Pieter du Preez 提交于
      Structs called at91_nand_data where renamed to atmel_nand_data
      and configs called *MTD_NAND_AT91* where renamed to
      *MTD_NAND_ATMEL*. This was unfortunately not done consistently,
      causing NAND chips not being initialised on several ARM boards.
      
      I am aware that the author of the original change did not rename
      MTD_NAND_AT91_BUSWIDTH to MTD_NAND_ATMEL_BUSWIDTH, for example.
      All *MTD_NAND_AT91* where renamed to *MTD_NAND_ATMEL* in order
      to keep naming consistency.
      
      This patch was only tested on a MACH_SAM9_L9260, as this is the
      only ARM board I have to my disposal.
      
      Before this patch:
      
      $ git-ls-files |xargs grep atmel_nand |wc -l
      105
      $ git-ls-files |xargs grep at91_nand |wc -l
      4
      $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
      8
      $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
      47
      
      After this patch:
      
      $ git-ls-files |xargs grep atmel_nand |wc -l
      109
      $ git-ls-files |xargs grep at91_nand |wc -l
      0
      $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
      55
      $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
      0
      Signed-off-by: NPieter du Preez <pdupreez@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      f6ed6f78
  9. 29 7月, 2008 1 次提交
  10. 27 7月, 2008 1 次提交
  11. 26 7月, 2008 1 次提交
  12. 10 7月, 2008 2 次提交
  13. 07 6月, 2008 1 次提交
  14. 02 6月, 2008 6 次提交
  15. 23 5月, 2008 1 次提交
  16. 15 5月, 2008 1 次提交
  17. 30 4月, 2008 1 次提交
    • J
      i2c: Convert most new-style drivers to use module aliasing · 3760f736
      Jean Delvare 提交于
      Based on earlier work by Jon Smirl and Jochen Friedrich.
      
      Update most new-style i2c drivers to use standard module aliasing
      instead of the old driver_name/type driver matching scheme. I've
      left the video drivers apart (except for SoC camera drivers) as
      they're a bit more diffcult to deal with, they'll have their own
      patch later.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Jon Smirl <jonsmirl@gmail.com>
      Cc: Jochen Friedrich <jochen@scram.de>
      3760f736
  18. 29 4月, 2008 2 次提交
  19. 28 4月, 2008 1 次提交
    • H
      atmel_lcdfb: don't initialize a pre-allocated framebuffer · 01d3a5e7
      Haavard Skinnemoen 提交于
      If the user specified a fixed framebuffer address on the command line, it may
      have been initialized already with a splash image or something, so we
      shouldn't clear it.
      
      Therefore, we should only initialize the framebuffer if we allocated it
      ourselves.  This patch also updates the AVR32 setup code to clear the
      framebuffer if it allocated it itself, i.e.  the user didn't provide a fixed
      address or the reservation failed.
      
      I've updated the at91 platform code as well so that it initializes the
      framebuffer if it is located in SRAM, but I haven't tested that it actually
      works.
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Nicolas FERRE <nicolas.ferre@rfo.atmel.com>
      Cc: Andrew Victor <andrew@sanpeople.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      01d3a5e7
  20. 19 4月, 2008 1 次提交
  21. 17 4月, 2008 1 次提交
    • A
      [ARM] 4989/1: [AT91] SAM9 ClockSource / ClockEvents · ad48ce74
      Andrew Victor 提交于
      Update AT91SAM9/CAP9 PIT driver to use generic time and clockevent
      infrastructure:
      
       - Clocksource gives sub-microsecond timestamp precision, assuming
       memory is clocked at over 16 MHz.  It's less than a 32 bit counter,
       unless it's is also generating IRQs.
      
       - Clockevent device supports periodic mode only; no oneshot
       support from this hardware.  No IRQs generated unless it's the
       active clocksource.
      
      Later, another timer (probably from a TC module) can provide a oneshot
      clockevent device to get NO_HZ and High-Res-Timer behavior.
      
      This also updates the timekeeping to use the actual master clock rate
      on the system, instead of compile-time <asm/arch/timex.h> constants
      matching what Atmel's EK boards use.  (Product boards may well differ!)
      
      Plus cleanup:  rename "*_timer*" symbols to "*_pit*" (there are other
      timers, but only one PIT); shorter lines; remove needless CPP stuff;
      make several symbols static; etc.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ad48ce74