omap3: regulator_get() failure in ads7846

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux