-
Make config option to choose hardboot restart mode (normal or recovery)
Tasssadar committedJan 17, 2013
-
Add support for kexec-hardboot
"Allows hard booting (i.e., with a full hardware reboot) to a kernel previously loaded in memory by kexec. This works around the problem of soft-booted kernel hangs due to improper device shutdown and/or reinitialization." More info in /arch/arm/Kconfig. Original author: Mike Kasick <mike@kasick.org> These patches are ported from Asus TF201, to which it was ported by Jens Andersen <jens.andersen@gmail.com>. Change-Id: Ibee734f61ffa97577bfbcdd9a8cd567bd2d89f32
-
Merge remote-tracking branch 'goog/android-tegra3-grouper-3.1-jb-mr1'…
fat-tire committedNov 25, 2012 … into HEAD
-
Merge remote-tracking branch 'goog/android-tegra3-grouper-3.1-jb-mr1-fr'
fat-tire committedNov 13, 2012 Conflicts: arch/arm/mach-tegra/board-grouper-misc.c arch/arm/mach-tegra/board-grouper-pinmux.c arch/arm/mach-tegra/board-grouper-power-ti.c arch/arm/mach-tegra/board-grouper-power.c arch/arm/mach-tegra/board-grouper.c arch/arm/mach-tegra/include/mach/board-grouper-misc.h arch/arm/mach-tegra/usb_phy.c drivers/power/bq27541_battery.c drivers/power/smb347-charger.c kernel/sys.c (Also includes changes to cyanogenmod defconfig) Change-Id: I04b913a69ec65012de94c951f5ae9388f5ed9b0e
-
Revert "net: wireless: bcmdhd: Fix WD wakelock behavior"
Ramanan Rajeswaran committedNov 2, 2012 This reverts commit 87576b8.
-
The min/max call needed to have explicit types on some architectures (e.g. mn10300). Use clamp_t instead to avoid the warning: kernel/sys.c: In function 'override_release': kernel/sys.c:1287:10: warning: comparison of distinct pointer types lacks a cast [enabled by default] Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
kernel/sys.c: fix stack memory content leak via UNAME26
Calling uname() with the UNAME26 personality set allows a leak of kernel stack contents. This fixes it by defensively calculating the length of copy_to_user() call, making the len argument unsigned, and initializing the stack buffer to zero (now technically unneeded, but hey, overkill). CVE-2012-0957 Reported-by: PaX Team <pageexec@freemail.hu> Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: PaX Team <pageexec@freemail.hu> Cc: Brad Spengler <spender@grsecurity.net> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
scripts/Kbuild.include: Fix portability problem of "echo -e"
"echo -e" is a GNU extension. When cross-compiling the kernel on a BSD-like operating system (Mac OS X in my case), this doesn't work. One could install a GNU version of echo, put that in the $PATH before the system echo and use "/usr/bin/env echo", but the solution with printf is simpler. Since it is no disadvantage on Linux, I hope that gets accepted even if cross-compiling the Linux kernel on another Unix operating system is quite a rare use case. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michal Marek <mmarek@suse.cz>
-
Revert "Set as-instr to use printf intsead of echo"
nemith committedOct 31, 2012 Better solution from upstream linux This reverts commit 65cb15e.
-
net: wireless: bcmdhd: Prevent HT Avail timeout to frozen deice while…
andy2_kuo committed with Android Partner Code ReviewOct 25, 2012 … asleep. Change-Id: I6ccd035539a3a3074b7ff1e06854ce396d784fc4
-
net: wireless: bcmdhd: Fix WD wakelock behavior
Dmitry Shmidt committed with Android Partner Code ReviewOct 23, 2012 Change-Id: I7ebae2be248cbb4bc98e2b448641f65b77a320f4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Conflicts: drivers/net/wireless/bcmdhd/dhd_linux.c
-
net: wireless: bcmdhd: Fix BSSID report for disassoc
Dmitry Shmidt committed with Android Partner Code ReviewOct 24, 2012 Change-Id: I5e3b01a1a471e5983ab934fc9d65802a389ab1af Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-
Fix al3010 power on fail in late_resume function
Tsechih_Lin committed with Android Partner Code ReviewOct 25, 2012 When interval time is too short between al3101_early_suspend() and al3010_late_resume(). It will cause driver fail to set power on. So , add 5ms delay to fix this issue. Change-Id: I2523b41384b47cbb23100fdf7f451f54bdeaed19
-
Sensors: Revise compass compensation mechanism to fix non-linear issue.
Joseph Wu committed with Android Partner Code ReviewOct 25, 2012 Revise the equation of compass compensation to make the data moving curve more linear when rotating. This fixes that the Orientation data variation doesn't match the degrees that the device actually has been rotated. Bug: 7395562 Change-Id: Ib628920066adc8250e901a40e69ee5fc2364298c
-
ASoC: tegra: headset: improve dock switch code
Simon Wilson committedOct 26, 2012 Remove all audio routing and use two switch devices to signal userspace of dock changes. Routing can then be done in userspace for the dock. Change-Id: Id73a5ea6754a780897bc23aec02157749a3a5fd6 Signed-off-by: Simon Wilson <simonwilson@google.com>
-
Revert "ASoC: codec: rt5640: change lineout route to output mixer and…
Simon Wilson committedOct 26, 2012 … set path gain to -1.875dB." This reverts commit 2a6888f. Change-Id: Idcf6de88a3789210336d6cf3f3519d2d0fa7aa98
-
Revert "7377546 Add dock switch device to support daydream mode."
Simon Wilson committedOct 26, 2012 This reverts commit e8ee95c. Change-Id: I12f7deb0eab18b712ff0cdb1c3274a23664c5c9d
-
7377546 Add dock switch device to support daydream mode.
jerryyc_hu committed with Android Partner Code ReviewOct 24, 2012 Nakasi should start Sleep Mode / Dream when placed in Dock Change-Id: I7545377b7a4e5e6d52d0208af6ac3f7bb2fd86e3
-
Sensors: Fix an improper type definition when loading compass gain.
Joseph Wu committed with Android Partner Code ReviewOct 23, 2012 To load compass gain with a correct type, we should fix it to 'int'. This should be common fix but partial related to bug 7355959. Bug: 7355959 Change-Id: I3514618a47cedd5354d1d4b26d30a8026e02e6f3
-
SoC: tegra: headset: fix speaker silent issue after inserting and rem…
able_liao committed with Android Partner Code ReviewOct 23, 2012 …oving headset rapidly. Speaker could get silent if insert and remove headphone rapidly, or even just normally insert and remove headphone during system suspend. The "AUX" and "speaker" dapm mixer control was for dock function but causes such issue, now remove them from kernel and redesign in HAL to satisfy both audio and dock functions. Bug: 7388692 Change-Id: Iaa2dc40575ee3a6c9ddcd49f5dd1a92e94c20655 Signed-off-by: able_liao <able_liao@asus.com>
-
Power on/off sequence tuning for Himax T-con IC
lucien_wu committed with Android Partner Code ReviewOct 19, 2012 Change-Id: I908e0b1233f4951c92d49b952a94f9e285c24424
-
arm: tegra: grouper: setup uart_c as bluetooth uart port for bluesleep
Haley Teng committed with Android Partner Code ReviewOct 18, 2012 Signed-off-by: Haley Teng <hteng@nvidia.com>
-
bluesleep: implement to support bluedroid
Haley Teng committed with Android Partner Code ReviewOct 17, 2012 "#define BT_BLUEDROID_SUPPORT 1" -> support BlueDroid "#define BT_BLUEDROID_SUPPORT 0" -> support BlueZ Since BlueDroid does not use kernel space HCI driver now, we add the below 2 /proc nodes to make BlueDroid able to send HCI events to bluesleep driver. write 1 to /proc/bluetooth/sleep/lpm -> equivalent to HCI_DEV_REG event write 0 to /proc/bluetooth/sleep/lpm -> equivalent to HCI_DEV_UNREG event write 1 to /proc/bluetooth/sleep/btwrite -> equivalent to HCI_DEV_WRITE event Signed-off-by: Haley Teng <hteng@nvidia.com>
-
arch: arm: xmm: repeat to push the crash pin and force to change the …
yi-hsin_hung committed with Android Partner Code ReviewOct 19, 2012 …crash mode. Change-Id: I04b6ae83efe8a99baefe20e2a623731fbfb8bb7d
-
drivers: usb: core: reduce the resume time for HSIC controller.
yi-hsin_hung committedOct 17, 2012 Change-Id: If7123e444410babd4a04abeaf471098dfb026db1
-
arm: tegra: grouper: Increase MC_EMEM_ARB_OUTSTANDING_REQ to resolve …
Roger Hsieh committed with Android Partner Code ReviewOct 3, 2012 …underflow in low emc freq. New outstanding request is updated in the emc dvfs table: * 25.5Mhz: 20 * 51Mhz: 20 * 102Mhz: 30 Bug 1057414 Change-Id: I4d72b0db586ad99d6a6758737d87b3f68e6a47c4 Signed-off-by: Haley Teng <hteng@nvidia.com>
-
Revert "Asoc: codec: rt5640: increase lineout output gain +1.875dB fo…
Ramanan Rajeswaran committed with Android Partner Code ReviewOct 15, 2012 …r B-dock sample." This reverts commit 273ea66 Change-Id: I9cb92323299d17806aed5439ccf9c3c6798bce59
-
drivers: staging: android: lmk compile fixup
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
-
lowmemorykiller: Use asynchronous compaction
Change-Id: I6a65d06fc30b88fcedaaf1abf1855fdd19e3c912
-
lowmemorykiller: Compact memory when killing processes
* Memory compaction is never invoked on Android because we avoid swap and don't allocate huge pages. Fix it by invoking compaction from the LMK when a process is killed to reduce memory fragmentation. Change-Id: I2bda790c2093e65fd6f43d52ea5149d6b57cb1e9 Conflicts: drivers/staging/android/lowmemorykiller.c
-
Asoc: codec: rt5640: increase lineout output gain +1.875dB for B-dock…
able_liao committedOct 12, 2012 … sample. 1.where measure result: Vrms:0.242 V Vp-p:0.724 V Change-Id: I3e17671bebe0fea0e5a64d3b287e7c86a29ab7c1
-
ASoC: codecs: rt5642: fix whoosh noise when making the first click so…
sam_chen committed with able_liaoOct 11, 2012 …und. Stable VREF by increasing VREF charging time in fast mode to 10-15ms (was: 5-6ms). Bug: 7257448 Change-Id: I089821b886b4a4e92fa8fdafcc11bb0269c7fb05 Signed-off-by: able_liao <able_liao@asus.com>
-
Merge branch 'android-tegra3-grouper-3.1-jb-mr0' of https://android.g…
fat-tire committedOct 11, 2012 …ooglesource.com/kernel/tegra into update
-
Proximity: Fix reports status change frequently even when not moving.
tryout_chen committedOct 3, 2012 Bugnizer ID: 7267739 Change-Id: I4ffac18b3266c323f22f8014fbf2cdf2caa048a5