1. 18 7月, 2009 2 次提交
    • M
      ecf763c5
    • 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 4 次提交
  4. 25 6月, 2009 33 次提交