1. 18 7月, 2009 1 次提交
    • H
      [ARM] pxa: fix gpio issue in zylonite · eb906911
      Haojian Zhuang 提交于
      WARNING: at drivers/gpio/gpiolib.c:83 gpio_ensure_requested+0x58/0xbc()
       autorequest GPIO-71
       Modules linked in:
       [<c0028bd0>] (unwind_backtrace+0x0/0xe8) from [<c003c328>] (warn_slowpath_common+0x48/0x78)
       [<c003c328>] (warn_slowpath_common+0x48/0x78) from [<c003c394>] (warn_slowpath_fmt+0x28/0x38)
       [<c003c394>] (warn_slowpath_fmt+0x28/0x38) from [<c0146128>] (gpio_ensure_requested+0x58/0xbc)
       [<c0146128>] (gpio_ensure_requested+0x58/0xbc) from [<c0146308>] (gpio_direction_input+0x80/0xf4)
       [<c0146308>] (gpio_direction_input+0x80/0xf4) from [<c000c668>] (zylonite_pxa300_init+0x108/0x214)
       [<c000c668>] (zylonite_pxa300_init+0x108/0x214) from [<c000c4e4>] (zylonite_init+0x8/0x84)
       [<c000c4e4>] (zylonite_init+0x8/0x84) from [<c00097cc>] (customize_machine+0x18/0x24)
       [<c00097cc>] (customize_machine+0x18/0x24) from [<c00222e0>] (do_one_initcall+0x30/0x1b0)
       [<c00222e0>] (do_one_initcall+0x30/0x1b0) from [<c00083f4>] (kernel_init+0xa4/0x11c)
       [<c00083f4>] (kernel_init+0xa4/0x11c) from [<c0023f3c>] (kernel_thread_exit+0x0/0x8)
       ---[ end trace 1b75b31a2719ed1c ]---
      
      This issue is caused by using gpio pin without request. Add gpio_request()
      into zylonite. To simplify the code, error checking is omitted since this
      is being performed early.
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@marvell.com>
      Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
      eb906911
  2. 06 7月, 2009 1 次提交
    • M
      [ARM] pxa: fix ULPI_{DIR,NXT,STP} MFP defines · 22fe8439
      Mike Rapoport 提交于
      Attepmpt to configure ULPI pins gives the following compile error:
        CC      arch/arm/mach-pxa/cm-x300.o
        arch/arm/mach-pxa/cm-x300.c:155: error: 'MFP_MFP_AF0' undeclared here (not in a function)
        arch/arm/mach-pxa/cm-x300.c:155: error: 'MFP_MFP_DS01X' undeclared here (not in a function)
        make[2]: *** [arch/arm/mach-pxa/cm-x300.o] Error 1
        make[1]: *** [arch/arm/mach-pxa] Error 2
        make: *** [sub-make] Error 2
      
      Fix it.
      Signed-off-by: NMike Rapoport <mike@compulab.co.il>
      Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
      22fe8439
  3. 03 7月, 2009 2 次提交
    • D
      [ARM] pxa: use kzalloc() in pxa_init_gpio_chip() · 4aa78264
      Daniel Mack 提交于
      As slab is available early now, use kzalloc() rather than
      alloc_bootmem_low() in pxa_init_gpio_chip().
      
      This removes the following boot time warning:
      
      <4>------------[ cut here ]------------
      <4>WARNING: at mm/bootmem.c:535 alloc_arch_preferred_bootmem+0x2c/0x54()
      <d>Modules linked in:
      [<c0029430>] (unwind_backtrace+0x0/0xdc) from [<c0036f64>] (warn_slowpath_common+0x4c/0x80)
      [<c0036f64>] (warn_slowpath_common+0x4c/0x80) from [<c000ede0>] (alloc_arch_preferred_bootmem+0x2c/0x54)
      [<c000ede0>] (alloc_arch_preferred_bootmem+0x2c/0x54) from [<c000f2e4>] (___alloc_bootmem_nopanic+0x34/0xd0)
      [<c000f2e4>] (___alloc_bootmem_nopanic+0x34/0xd0) from [<c000f6e4>] (___alloc_bootmem+0xc/0x34)
      [<c000f6e4>] (___alloc_bootmem+0xc/0x34) from [<c000cb20>] (pxa_init_gpio+0x48/0x228)
      [<c000cb20>] (pxa_init_gpio+0x48/0x228) from [<c0009794>] (init_IRQ+0x34/0x44)
      [<c0009794>] (init_IRQ+0x34/0x44) from [<c00089d4>] (start_kernel+0x144/0x264)
      [<c00089d4>] (start_kernel+0x144/0x264) from [<a0008034>] (0xa0008034)
      <4>---[ end trace 1b75b31a2719ed1c ]---
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
      4aa78264
    • D
      [ARM] pxa: correct I2CPWR clock for pxa3xx · 5c68b099
      Daniel Mack 提交于
      In commit f23d4911, the pwr-i2c device name changed due to the
      newly introduced device table. This patch fixes the clock so the
      driver's probe will succeed again.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Acked-by: NRussell King <linux@arm.linux.org.uk>
      Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
      5c68b099
  4. 25 6月, 2009 9 次提交
  5. 24 6月, 2009 3 次提交
  6. 23 6月, 2009 24 次提交