aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-05ASoC: Fix wm8753 register cache size and initializationLars-Peter Clausen
Register cache space was not being allocated for the final register, causing bugs when it was used. Allocate space for it. Also ensure that the final register is displayed in sysfs. [Commit message rewritten to document actual issue. -- broonie] Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-07-05ASoC: Fix register cache initialisation for WM8753Mark Brown
The wrong register cache variable was being used to provide the size for the memcpy(), resulting in a copy of only a void * of data. Reported-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-06-24GTA0[12]: add nls 866, 1251 to defconfigsPaul Fertser
These codepages are still widely used by inferior operating systems to represent cyrillic letters in filenames, both in fat filesystem and by some samba-servers. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-21RNDIS: crude hack to fix oops on connecting to WXP SP2Paul Fertser
F4t discovered that his freerunner panics on connect to his windows box. This crude hack workarounds the problem. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-13gta02: move debugging messages to the appropriate levelsPaul Fertser
Clean up debugging messages so that we don't see any output with loglevel=4 (default for Qi). This avoids slowing down suspend/resume by slow fb output. Checkpatch barks on this patch but i guess most of that debugging would have to be changed prior to upstream submission anyway. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-10CONFIG_BATTERY_BQ27000_HDQ selects CONFIG_HDQ_GPIO_BITBANGLuca Capello
This is because of commit 1f06c28eaa6e77384a366c3d2ab1ccdbb8a807e0 The BQ27000 Battery requires HDQ. Otherwise the battery is not available at all. Signed-off-by: Luca Capello <luca@pca.it>
2009-06-10gta01: asoc: fix lm4857 controlPaul Fertser
Commit 4eaa9819dc08d7bfd1065ce530e31b18a119dcaf changed semantics of private_value member of kcontrol. This resulted in inability to control amplifier and subsequently in very low output volume. Tested-by: Johannes Schauer <josch@pyneo.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-09GTA0[12]: make headset button report PLAY pressed on pressPaul Fertser
As discussed on the ML, currently headset button reports "KEY_PAUSE released" on press and "pressed" on release. For "pause" semantics it makes sense but if someone thinks of that as of just another button, it'd be good to have "pressed/released" events consistent with button press/release. Luca Capello <luca@pca.it> suggested to change the button event to KEY_PLAY and to invert the state to make it more consistent. This trivial patch inverts button events for GTA03 KEY_PLUS and KEY_MINUS, i'm not sure how undesirable that is. I can prepare an alternative that preserves current behaviour on GTA03 per request. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-09GTA02: gps power management bugfixPaul Fertser
After suspending with GPS powered on power_on sysfs node reports 0 and GPS is actually unpowered but "echo 1 > power_on" has no effect. This patch fixes it. Reported and analised by Timo Juhani Lindfors <timo.lindfors@iki.fi>, ticket #2293. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-04GTA01, GTA02: remove RTC_DEBUG from defconfigsPaul Fertser
This option is meant for debugging and is not any more of interest to ordinary users. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-04GTA01: disable android wakelocksPaul Fertser
Enabling wakelocks leads to immediate suspend after resume. See ce6840da7184043a09dd57d4c201a32ef7b6c083 for clarifications. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-04GTA02: bq27000 report current chargePaul Fertser
Using HAL for E's battery gadget highlighted an oddity: the kernel exposed last full charge property but didn't expose current charge property. This resulted in the wrong computation of current battery capacity by E's gadget (and probably other programs as well). This patch exposes a corresponding bq27000 register to make E battery gadget happy (it is still not showing correct values because of bugs in HAL resulting in 3 batteries (apm emulation and usb supply being bogus here) instead of one). Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-01Improve battery status notificationMichael Trimarchi
This patch adds a call to cancel_delayed_work before a call to schedule_delayed_work. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org> Signed-off-by: Daniel Willmann <daniel@totalueberwachung.de>
2009-05-25gta01: fix jbt6k74 spi registrationPaul Fertser
Without this jbt6k74 is not seen by the system and consequently display doesn't work with Qi. Rebasing to .28 introduced a regression (probably in a6af63e826b79ae1ba2d8cbfa66805cc2dfe367c) resulting in jbt6k74 no longer manageable by the kernel. This was unnoticed before because u-boot does its own LCM initialization. With Qi it resulted in a white screen. This patch is fixing it by making spi host bus number (unspecified, defaults to 0) and spi device (jbt6k74) bus number match. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-05-15 Add a vbus polling function for use by the udc driver.Mike Westerhof
Signed-off-by: Mike Westerhof <mwester@dls.net>
2009-05-15 This patch adds the option to poll vbus status to the s3c24xx udc driver.Mike Westerhof
Machines that do not route the USB vbus signal to a GPIO can use this mechanism as an alternate way for the udc driver to detect the usb connect/disconnect state, which is useful (for example) to enable the link up/down state to be determined for the g_ether gadget. Signed-off-by: Mike Westerhof <mwester@dls.net>
2009-05-15usb gadget: fix ethernet link reports to ethtoolJonathan McDowell
The g_ether USB gadget driver currently decides whether or not there's a link to report back for eth_get_link based on if the USB link speed is set. The USB gadget speed is however often set even before the device is enumerated. It seems more sensible to only report a "link" if we're actually connected to a host that wants to talk to us. The patch below does this for me - tested with the PXA27x UDC driver. Signed-off-by: Jonathan McDowell <noodles@earth.li> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-05-14Avoid null pointer access on early call to pcf50633_mbc_get_statusNelson Castillo
Avoid a kernel panic during an early call to the pcf50633_mbc_get_status function.
2009-05-05Glamo MFD: MFD_GLAMO_SPI_GPIO requires SPI_BITBANG to buildRask Ingemann Lambertsen
This patch fixes a linking failure in the Glamo GPIO SPI bitbang support. Signed-off-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
2009-05-05Glamo MFD: Fix indentation of Kconfig, convert spaces to tabsRask Ingemann Lambertsen
This patch fixes some indentation which was off by one and converts spaces to tabs. Signed-off-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
2009-04-28GTA01: Add "present" property to power_supplyNelson Castillo
Small patch to add /sys/class/power_supply/battery/present. You must not run a GTA01 without battery thus it is always 1. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-04-28Call unbind() hook of the usb gadget so that it can properly release its ↵Timo Juhani Lindfors
resources Call unbind() hook of the gadget so that it can properly release its resources. This fixes bug http://docs.openmoko.org/trac/ticket/2240 ("removing/reloading g_ether not working"). All other instances of usb_gadget_unregister_driver in Linux already call unbind() so it is bit odd s3c2410_udc.c did not do so. Signed-off-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
2009-04-23Update status batteryMichael Trimarchi
This patch adds the call to the worker in bq27000_battery_external_power_changed. Now (un)plugging the USB cable effects the battery status soon. I don't know if it is possible call the status change directly. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org> Signed-off-by: Daniel Willmann <daniel@totalueberwachung.de>
2009-04-21This patch take the min platform data array size and keys array size.Michael Trimarchi
Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-04-21glamo_fb: make Xglamo workaround conditionalNelson Castillo
Distributions that use Xorg will not need the workaround at all and now they can disable it. Updated configurations to enable it by default. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-04-21glamo_fb: Small cleanupNelson Castillo
~ Cleanup of a redundant call I introduced before. ~ Removed useless assignation. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-04-20Make Xglamo workaround opt-out. Fixes #2255.Nelson Castillo
To disable the workaround at run-time run: echo 0 > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.9/glamo3362.0/glamo-fb.0/xglamo_hack I guess I should add a compile option now to completely disable the workaround but let's call this an enhancement and let's close the bug now. By default the workaround is enabled. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net> Reported-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
2009-04-20Disable EXT4 / enable reiserfsNelson Castillo
Disable EXT4 in gta02_moredrivers_defconfig. Enable reiserfs3 in gta02_moredrivers_defconfig and gta02_packaging_defconfig. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net> Reported-by: W.Kenworthy <billk@iinet.net.au>
2009-04-19remove-ext4-from-gta02_packaging_defconfig.patchMike (mwester)
Removes ext4 support from the packaging defconfig; there is little value in having this built into the kernel, and a bug in the current 2.6.29-rc3 kernel results in the kernel attempting to mount an ext2 rootfs as ext4, which fails. Signed-off-by: Mike Westerhof <mwester@dls.net>
2009-04-19Revert "Revert "Fixed the LCM driver state transition delay and pixel clock ↵Nelson Castillo
issue"" This reverts commit aa2dbc74bed8cf60e591c654ba1882011b9a8ece. Reverting the revert. Sorry for the noise. Check: http://lists.openmoko.org/pipermail/openmoko-kernel/2009-April/010023.html
2009-04-19Revert "Fixed the LCM driver state transition delay and pixel clock issue"Nelson Castillo
This reverts commit bd4b7e8e84ab43a13a4620b001d52d373c2122b3 which brought WSOD back for some devices. It was reported that the problem does not happen with Qi and it seem it is good news. See: https://docs.openmoko.org/trac/ticket/2274 Conflicts: drivers/video/display/jbt6k74.c
2009-04-16Revert "update gta01 config based on gta02 config"Nelson Castillo
This reverts commit 962780e3631255fc5423192d0762f30a1fa45239. Nothing really wrong with it but the resulting kernel was too big for the GTA01 NAND flash. GTA01 boots.
2009-04-16gta02: fix re-enabling backlight with <12 valuesPaul Fertser
If brightness value was set to anything less than 12, the backlight wasn't re-enabled after unblanking the display. Closes ticket #2262. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-04-15OHCI: Disabled additional debuggingPaul Fertser
Disabled additional debugging introduced in 70b36104ab8c03f5be6d03344214d09447d9d4a8
2009-04-15make touchscreen filter symbols const static in mach-gta01.c and mach-gta02.cNelson Castillo
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-04-14Too many info messages for apm battery supportTim Niemeyer
Changing dev_info => dev_dbg. Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2009-04-14better naming for filter_configurationTim Niemeyer
this affects gta01 and gta02, now we can enable both in the .config Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2009-04-14update gta01 config based on gta02 configTim Niemeyer
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2009-04-14Fix kernel oops when starting wpa_supplicant.Mike Westerhof
This closes bug #2267. Signed-off-by: Mike Westerhof <mwester@dls.net>
2009-04-13fbcon: Cleaned unnecessary debugging output (fix bug 2265)Nicolas Dufresne
Cleaned unnecessary debugging output. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@gmail.com>
2009-04-08Re-enable USBHOST attributeMichael Trimarchi
Re-enable usbmode attribute. It was disabled by 70b36104ab8c03f5be6d03344214d09447d9d4a8. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-04-08Cleanup USB host code of s3c2410Michael Trimarchi
Cleanup code of ohci-s3c2410. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-04-07Correct platform s3c-ohci device name, makes bluetooth workPaul Fertser
Not sure what is the correct naming scheme and if MODULE_ALIAS in drivers/usb/host/ohci-s3c2410.c is needed at all (if yes, probably it should be modified too). Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-04-05ASoC: Clean up coding style issues in GTA02Mark Brown
No substantial changes, this just tidies up a bunch of coding style issues that ought to be fixed up before merge (which I'll do when the GTA02 machine support is queued for merge). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-04-05Fixed the LCM driver state transition delay and pixel clock issueNicolas Dufresne
Space transition between sleep-in and sleep-out of at least 120 ms as mentionned in the spec. Also, made sure the LCM is moved into sleep state before the pixel clock is turned off. To do so, I've modified glamo-fb to send FB_BLANK_POWERDOWN before turning off the pixel clock. Also fixed various violation of coding style. This patch should reduce the risk of white screen. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@gmail.com>
2009-04-02AR6000: move low-level cleanup from ar6000_destroy to ar6000_closeWerner Almesberger
A network device is supposed to disable its internals in the "close" function. Doing so affords us protection against various races, including the ioctl vs. rfkill conflict reported by Michael. Signed-off-by: Werner Almesberger <werner@openmoko.org> Reported-by: Michael Trimarch <michael@panicking.kicks-ass.org>
2009-03-31rtc-pcf50606: Fix month off-by-one errorWerner Almesberger
According to the PCF50606 manual, the issues resoved by commit cc1663fc922c03feb0d7bbb8b18d62fbac0128de also exists there. Signed-off-by: Werner Almesberger <werner@openmoko.org> Reported-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
2009-03-31AR6000: support GTA02-specific rfkill only if building for GTA02Werner Almesberger
This is loosely based on a patch by Ivan Petrov. Signed-off-by: Werner Almesberger <werner@openmoko.org> Reported-by: Ivan Petrov <ivan_p@hotbox.ru>
2009-03-31This patch brings suspend/resume back to GTA01Tim Niemeyer
"pdata" is NULL on GTA01 and you oops. Revised patch, this time with if(..) instead of #ifdef Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2009-03-31remove sysfs-links on removeTim Niemeyer
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>