Openmoko Bug #2303: regulator_disable: not in use by this consumer

Openmoko Public Trac bugs at
Sun Aug 2 22:07:07 CEST 2009

#2303: regulator_disable: not in use by this consumer
 Reporter:  lindi   |          Owner:  Nytowl                               
     Type:  defect  |         Status:  new                                  
 Priority:  normal  |      Milestone:                                       
Component:  Distro  |        Version:  unspecified                          
 Severity:  minor   |       Keywords:  kernel gps regulator poweron power_on
 Haspatch:  0       |      Blockedby:                                       
Estimated:          |    Patchreview:                                       
 Blocking:          |   Reproducible:                                       
 Steps to reproduce:
 1) Not quite sure. Log shows I did

 Aug  2 22:35:30 ginger sudo:    lindi : TTY=pts/1 ; PWD=/home/lindi ;
 USER=root ; COMMAND=/bin/sh -c echo 0 > /sys/class/i2c-

 but this does not happen every time.

 Expected results:
 1) gps is powered down

 Actual results:
 1) gps is powered down but kernel prints

  regulator_disable: not in use by this consumer
  ------------[ cut here ]------------
  WARNING: at /local/lindi/neolinux/drivers/regulator/core.c:1108
  Modules linked in: ppp_deflate bsd_comp ppp_async crc_ccitt ppp_generic
 slhc fuse snd_soc_neo1973_gta02_wm8753 snd_soc_s3c24xx_i2s snd_soc_s3c24xx
 g_ether s3c2410_wdt ar6000 snd_soc_wm8753 s3cmci snd_soc_core snd_pcm
 snd_timer snd_page_alloc snd
  [<c02a9c5c>] (dump_stack+0x0/0x14) from [<c004ffd8>]
  [<c004ff74>] (warn_slowpath+0x0/0x98) from [<c0180cf0>]
   r3:c6de7e18 r2:00000000
   r7:c0389238 r6:00000002 r5:00000000 r4:c799f5e0
  [<c0180cb8>] (regulator_disable+0x0/0x88) from [<c003e364>]
   r5:c03b226c r4:00000000
  [<c003e2cc>] (gps_pwron_set+0x0/0xa8) from [<c003e500>]
   r5:00000000 r4:c03336a2
  [<c003e4a0>] (power_gps_write+0x0/0xa4) from [<c019fca4>]
   r6:c6c0d160 r5:00000002 r4:c79a521c
  [<c019fc7c>] (dev_attr_store+0x0/0x2c) from [<c00f1cb0>]
  [<c00f1b9c>] (sysfs_write_file+0x0/0x14c) from [<c00ad54c>]
  [<c00ad494>] (vfs_write+0x0/0x148) from [<c00ad6a4>]
   r7:00000004 r6:c1338760 r5:00000000 r4:00000000
  [<c00ad658>] (sys_write+0x0/0x7c) from [<c002eea0>]
   r6:00000001 r5:00000002 r4:00028238
  ---[ end trace 9a4e03ca1325e3f3 ]---

 More info:
 1) I am using andy-tracking 9ecc089861ab238e with wifi and ramconsole
 patches (should not affect this).

Ticket URL: <> <>
openmoko trac

More information about the buglog mailing list