linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* omap3: regulator_get() failure in ads7846
@ 2010-09-07 11:46 Premi, Sanjeev
  2010-09-07 11:56 ` Mark Brown
  2010-09-07 12:16 ` Igor Grinberg
  0 siblings, 2 replies; 7+ messages in thread
From: Premi, Sanjeev @ 2010-09-07 11:46 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org, linux-input@vger.kernel.org

Hi all,
 
While booting the latest kernel (from linux-omap) on omap3evm,
I came across this error.
 
[    3.202575] ads7846 spi1.0: unable to get regulator: -19
[    3.208190] ------------[ cut here ]------------
[    3.212890] WARNING: at drivers/gpio/gpiolib.c:1258 gpio_free+0x114/0x140()
[    3.219940] Modules linked in:
[    3.223083] [<c004e57c>] (unwind_backtrace+0x0/0xec) from [<c007e5d8>] (warn_slowpath_common+0x4c/0x64)
...
...
[    3.342529] ---[ end trace 1b75b31a2719ed1f ]---

 
In drivers/input/touchscreen/ads7846.c, we attempt to get the
regulator as:
 
ts->reg = regulator_get(&spi->dev, "vcc");

This regulator isn't defined for omap3evm. And I suspect - once
defined - the name will be different than "vcc".

Looking at pointers on how this should be handled.
 
Best regard,
Sanjeev

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-09-07 14:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-07 11:46 omap3: regulator_get() failure in ads7846 Premi, Sanjeev
2010-09-07 11:56 ` Mark Brown
2010-09-07 13:26   ` Premi, Sanjeev
2010-09-07 14:18     ` Mark Brown
2010-09-07 12:16 ` Igor Grinberg
2010-09-07 12:51   ` Mark Brown
2010-09-07 12:53   ` Premi, Sanjeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).