firefly-linux-kernel-4.4.55.git
13 years agoARM: tegra: stingray: Only enable bridge chip in resume on power button
Colin Cross [Fri, 21 Jan 2011 19:57:43 +0000 (11:57 -0800)]
ARM: tegra: stingray: Only enable bridge chip in resume on power button

Powering on the LVDS chip during resume when the resume was not caused by
the user pushing the power button causes the screen to flicker and wastes
power.  Only power on the LVDS chip if the power button event is detected
during resume.

Change-Id: I6a36e00a04c7a4e33bad08af20d485426f429264
Signed-off-by: Colin Cross <ccross@android.com>
13 years agomdm6600: Set wake_irq_enabled to false on disconnect
Benoit Goby [Sat, 22 Jan 2011 01:43:38 +0000 (17:43 -0800)]
mdm6600: Set wake_irq_enabled to false on disconnect

Otherwise the irq won't get enabled when the modem is re-attached.

Change-Id: I74582ebb3c9336a5fb47d0bc12f5740a3d2f5203
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 21 Jan 2011 08:33:25 +0000 (00:33 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 21 Jan 2011 08:33:14 +0000 (00:33 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agousb: gadget: tegra: Enable emc clock while usb is connected
Benoit Goby [Thu, 20 Jan 2011 23:42:52 +0000 (15:42 -0800)]
usb: gadget: tegra: Enable emc clock while usb is connected

Change-Id: Icb94c516a580e29b42b1899e622c9b91f8701dd2
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoARM: tegra: clocks: Add shared emc clocks for usb gadget
Benoit Goby [Thu, 20 Jan 2011 23:41:58 +0000 (15:41 -0800)]
ARM: tegra: clocks: Add shared emc clocks for usb gadget

Change-Id: Idf1982fac02b987cb16ef89509cfe4d72953d1e5
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agousb: host: tegra: Enable emc clock while usb is resumed
Benoit Goby [Thu, 20 Jan 2011 22:19:04 +0000 (14:19 -0800)]
usb: host: tegra: Enable emc clock while usb is resumed

Change-Id: I03a102f40134686fabbd5cfa1830816a691cf876
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoARM: tegra: clocks: Add shared emc clocks for ehci driver
Benoit Goby [Thu, 20 Jan 2011 23:18:18 +0000 (15:18 -0800)]
ARM: tegra: clocks: Add shared emc clocks for ehci driver

Change-Id: I02f9d798159e14007fa2e5abfc3493a2d779d515
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoARM: tegra: DVFS: set 1.2V core voltage for USB to work
Jay Cheng [Thu, 20 Jan 2011 21:09:32 +0000 (16:09 -0500)]
ARM: tegra: DVFS: set 1.2V core voltage for USB to work

Change-Id: Idb7822329f1975307748a72d1786da68c0635738
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Thu, 20 Jan 2011 05:21:38 +0000 (21:21 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Thu, 20 Jan 2011 05:21:20 +0000 (21:21 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agomisc: ts27010: Don't wait for ack if DISC packet has been dropped
Benoit Goby [Thu, 20 Jan 2011 01:11:11 +0000 (17:11 -0800)]
misc: ts27010: Don't wait for ack if DISC packet has been dropped

Change-Id: Ia05e57e47df7642d1939f402bad8d7f2e5d29280
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoinput: evdev: Add missing wake_lock_destroy
Benoit Goby [Wed, 19 Jan 2011 22:10:37 +0000 (14:10 -0800)]
input: evdev: Add missing wake_lock_destroy

Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 19 Jan 2011 05:39:06 +0000 (21:39 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Wed, 19 Jan 2011 05:37:12 +0000 (21:37 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agousb: host: tegra: Fix SetPortFeature PORT_SUSPEND
Benoit Goby [Wed, 19 Jan 2011 03:38:23 +0000 (19:38 -0800)]
usb: host: tegra: Fix SetPortFeature PORT_SUSPEND

This fixes a regression where hubs cannot detect new devices once they
have been auto-suspended.

Change-Id: I4b3efcaa9634b9a912060e438527000bbc83dc32
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agousb: host: tegra: Fix resuming low speed devices from lp0
Benoit Goby [Tue, 18 Jan 2011 20:56:16 +0000 (12:56 -0800)]
usb: host: tegra: Fix resuming low speed devices from lp0

Change-Id: I9576853bbe0fae52c5c2cfab26ce8f2017077d4e
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoARM: tegra: usb_phy: Program DPDM_OBSERVE depending on the device speed
Benoit Goby [Wed, 19 Jan 2011 00:57:48 +0000 (16:57 -0800)]
ARM: tegra: usb_phy: Program DPDM_OBSERVE depending on the device speed

Low speed devices require a K-state resume signaling instead of J.

Change-Id: Ic06011f45c2b0f4cd969d018f2783acea57cb510
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomdm6600: Fix irq storm on disconnect
Benoit Goby [Thu, 13 Jan 2011 01:01:10 +0000 (17:01 -0800)]
mdm6600: Fix irq storm on disconnect

When the modem is powered off, the driver might receive interupts
before usb has detected that the modem is disconnected. Disable
the interrupt in the irq handler before resuming the modem.

Change-Id: I866c64dea0da4cff6aa7947224255378790b160c
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM]: tegra: enable touch vector (orientation) reporting for stingray
makarand.karvekar [Mon, 17 Jan 2011 05:30:15 +0000 (23:30 -0600)]
[ARM]: tegra: enable touch vector (orientation) reporting for stingray

Change-Id: I20e9dc4ce8549ed113168f3f78f9f8a8012f6669
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoinput: touchscreen: qtouch: report ABS_MT_ORIENTATION
makarand.karvekar [Mon, 17 Jan 2011 05:17:13 +0000 (23:17 -0600)]
input: touchscreen: qtouch: report ABS_MT_ORIENTATION

Change-Id: I0f4109076e2f3125af62fb34012d4a9e04045328
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM]: tegra: update touch edge control settings in stingray board file
makarand.karvekar [Sun, 16 Jan 2011 23:01:28 +0000 (17:01 -0600)]
[ARM]: tegra: update touch edge control settings in stingray board file

x-range: 10, 2570
y-range: 15, 1615

touch resolution: 2580x1630

Change-Id: I2f868539bb073596b800fbe9d97bea7a718be65e
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoleds: lp8550: don't save register values to NVM
James Wylder [Sun, 16 Jan 2011 20:56:44 +0000 (14:56 -0600)]
leds: lp8550: don't save register values to NVM

Reinitialize the backlight registers on each boot
rather than save them to non-volatile memory.  Any
errors in the NVM can make the module unrecoverable.

Change-Id: Ibae4c0cc27c872dff4072f132402b06e815232de
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoARM: tegra: stingray: Enable Tegra AES hw engine and crypto dev
Colin Cross [Mon, 17 Jan 2011 20:52:13 +0000 (12:52 -0800)]
ARM: tegra: stingray: Enable Tegra AES hw engine and crypto dev

Change-Id: I35d0e0e6e5fbfb770a1aefcbdc94903b252d7736
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: device node to access tegra aes hw
Varun Wadekar [Sun, 7 Nov 2010 18:27:49 +0000 (23:57 +0530)]
[ARM] tegra: device node to access tegra aes hw

/dev/tegra-crypto node to access tegra aes hw from the
user space. currently ecb/cbc/ansi_x9.31 modes are supported

Change-Id: Ic22b5430ea205cd9be51e02b905f8ddc3292add1
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agocrypto: tegra-aes: perf: remove unnecessary polling and memset
Varun Wadekar [Fri, 14 Jan 2011 07:49:25 +0000 (13:19 +0530)]
crypto: tegra-aes: perf: remove unnecessary polling and memset

Change-Id: I69731fcd50933ccea73542d046c3c5d86d03fcd9
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sat, 15 Jan 2011 01:32:40 +0000 (17:32 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 15 Jan 2011 01:32:24 +0000 (17:32 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 15 Jan 2011 01:32:17 +0000 (17:32 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agomdm6600: Resume modem synchronously
Benoit Goby [Wed, 12 Jan 2011 23:38:24 +0000 (15:38 -0800)]
mdm6600: Resume modem synchronously

If runtime pm auto-resumes the modem while the modem is being
disconnected, runtime pm might use the modem power spinlock after free.

Auto-resumes the modem synchronously and make sure there are no pending
wakeup requests before disconnect returns.

Don't request an auto-resume if the modem is suspended or this may
cause usb devices to be resumed in the wrong order.

Change-Id: I38bf4830d30bb8b7619e093e0ba1b3861d240aec
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agovideo: tegra: host: Force memory bus to full when using 2d, 3d or mpe
Colin Cross [Fri, 14 Jan 2011 23:07:27 +0000 (15:07 -0800)]
video: tegra: host: Force memory bus to full when using 2d, 3d or mpe

Change-Id: I7138af5d26c3f406537bc4b2bc4bb052de37f7bf
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: clock: Add shared emc clock for tegra_grhost
Colin Cross [Fri, 14 Jan 2011 23:06:58 +0000 (15:06 -0800)]
ARM: tegra: clock: Add shared emc clock for tegra_grhost

Change-Id: Ie2814726d151777140c20d2bc0a3c1a3822043a8
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: clock: Add round_rate op for shared clocks
Colin Cross [Fri, 14 Jan 2011 23:06:29 +0000 (15:06 -0800)]
ARM: tegra: clock: Add round_rate op for shared clocks

Change-Id: Ica3f9fd9db4fe38f2c9ca3fc248526211f59c622
Signed-off-by: Colin Cross <ccross@android.com>
13 years agovideo: tegra: host: disable MPE auto-power-gate
Mayuresh Kulkarni [Fri, 14 Jan 2011 02:22:43 +0000 (18:22 -0800)]
video: tegra: host: disable MPE auto-power-gate

It is seen that auto-power-gate of MPE causes some issues when long run
camera stress test is run. The issue manifest itself in the form of
MPE sync-point not getting triggered from hardware and hence the caller
who is waiting on it hangs up the system.

Disabling auto-power-gate for MPE seems to resolve this issue.

Original work of Jay Cheng <jacheng@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Change-Id: Iaef9f959cbc00dd715352ca637955cd2bea6f355

13 years agoARM: Fix up vfp exception location in thumb mode
Colin Cross [Fri, 14 Jan 2011 22:32:49 +0000 (14:32 -0800)]
ARM: Fix up vfp exception location in thumb mode

The exception handler in entry-armv.S checks for thumb mode and
correctly determines the exception location and instruction,
but VFP_bounce uses the uncorrected location off the stack.
If the VFP exception occured in Thumb mode, fix up the
exception location on the stack to match the value that would
be returned in ARM mode.

Fixes segfaults in userspace applications running in Thumb mode
caused by a handled VFP exception returning to the middle of the
instruction that triggered the exception.

Change-Id: I02be4c5b546561d9a967a02c1e9eb1de876cff07
Original-author: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM]: tegra: stingray: add cap_prox fail-safe thresholds
makarand.karvekar [Fri, 14 Jan 2011 23:06:17 +0000 (17:06 -0600)]
[ARM]: tegra: stingray: add cap_prox fail-safe thresholds

Change-Id: Ib4826cebe08882e4bf2aa6238da2abfb0e07597f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomisc: cap_prox: add fail-safe threshold checks
makarand.karvekar [Fri, 14 Jan 2011 23:13:31 +0000 (17:13 -0600)]
misc: cap_prox: add fail-safe threshold checks

if either of the sensors are in failure mode,
keep device in body proximity detect.

Change-Id: I4e460ac30e3612863a995e73b7869aa619ea5eb6
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomedia: video: tegra: Correct mclk settings for ov5650 and soc2030
John Kramer [Fri, 14 Jan 2011 14:04:58 +0000 (08:04 -0600)]
media: video: tegra: Correct mclk settings for ov5650 and soc2030

Change-Id: I8a7c1abf38313fb73256581d01f0245200f3b850
Signed-off-by: John Kramer <john.kramer@motorola.com>
13 years ago[ARM]: tegra: stingray: touch separation calibration
makarand.karvekar [Fri, 14 Jan 2011 21:07:58 +0000 (15:07 -0600)]
[ARM]: tegra: stingray: touch separation calibration

T9-Multi-Touch Object
MRGTIMEOUT=0x0A
MRGHYST= 0x10
MRGTHR= 0x23

Change-Id: I32bb43cf8ac228a3758b5ab00f6a3dbff0bb41d3
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM]: tegra: stingray: enable palm suppression in touch sensor
makarand.karvekar [Fri, 14 Jan 2011 21:01:03 +0000 (15:01 -0600)]
[ARM]: tegra: stingray: enable palm suppression in touch sensor

firmware: mXT1386_10_FF.bin

Change-Id: I58dbadc633e6ad4bf42ca4a05d0272becdadf38f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoleds: lm3559: Fix overexposed images when flash is used
John Kramer [Tue, 11 Jan 2011 16:43:59 +0000 (10:43 -0600)]
leds: lm3559: Fix overexposed images when flash is used

Change-Id: Ie353c61644e07d22448331961f16b06721f8ac77
Signed-off-by: John Kramer <john.kramer@motorola.com>
13 years ago[ARM]: tegra: stingray: update accelerometer and gyro config data
makarand.karvekar [Wed, 5 Jan 2011 20:47:54 +0000 (14:47 -0600)]
[ARM]: tegra: stingray: update accelerometer and gyro config data

accelerometer:
range set to 2G
initial ODR at 100Hz

Gryo:
2000dps max
ODR at 800Hz.

Change-Id: Ic220f847f43a29ecf6c064fbe0537c6922555781
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomisc: l3g4200d: update gyro register set and general cleanup
makarand.karvekar [Fri, 7 Jan 2011 16:39:34 +0000 (10:39 -0600)]
misc: l3g4200d: update gyro register set and general cleanup

Change-Id: I17c2384842e1528c4dbdedb094e79de3c44ac5ee
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomisc: akm8975: report magnetometer data as EV_REL event
makarand.karvekar [Wed, 5 Jan 2011 20:32:59 +0000 (14:32 -0600)]
misc: akm8975: report magnetometer data as EV_REL event

Change-Id: I134d0162b6725801157786329c2058cf4516e93b
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomisc: kxtf9: report accelerometer data as EV_REL events
makarand.karvekar [Fri, 7 Jan 2011 16:28:06 +0000 (10:28 -0600)]
misc: kxtf9: report accelerometer data as EV_REL events

reports EV_REL type events for continuous data.
updated ODR table.

Change-Id: I0da2ac63a25816641207f748d9f477fc16779b2c
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoinput: touchscreen: qtouch: update palm suppression cfg params
makarand.karvekar [Thu, 13 Jan 2011 19:49:02 +0000 (13:49 -0600)]
input: touchscreen: qtouch: update palm suppression cfg params

Change-Id: I74d99c06ee8b73a2ed59cbfe5264f2f7370c4e48
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] mfd: cpcap: Audio capture pop reduction
Chris Fries [Wed, 12 Jan 2011 22:35:43 +0000 (16:35 -0600)]
[ARM] mfd: cpcap: Audio capture pop reduction

Fix mic pop reduction to account for CPCAP mic bias.

Change-Id: Iff8a606520b06ffca91e3a07fc4a2e0b5b23b8d7

13 years ago[ARM] tegra: fuse: Fix copy_to_user typo
Greg Meiste [Fri, 14 Jan 2011 15:24:31 +0000 (09:24 -0600)]
[ARM] tegra: fuse: Fix copy_to_user typo

Correct order of parameters to copy_to_user.

Submitted on behalf of Eyob Tesfu <eyob.tesfu@motorola.com>

Change-Id: Ic7b3862e663672179584fc80c1994a6a0918904a
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoRevert "mdm6600: Resume modem synchronously"
Benoit Goby [Fri, 14 Jan 2011 00:30:19 +0000 (16:30 -0800)]
Revert "mdm6600: Resume modem synchronously"

Seeing usb errors on resume from lp0:
"hub 2-0:1.0: activate --> -22"
"usb 2-1: device not accepting address 2, error -22"

This reverts commit dda0b352a7dac2c7eb188ffe2091bd509ce3853b.

Change-Id: Ibd6a0455e6aa77ccb4e9111f0248cec530f6dd15

13 years agoUSB: gadget: f_mtp: Make sure request is dequeued if transfer is canceled
Mike Lockwood [Thu, 13 Jan 2011 21:19:57 +0000 (16:19 -0500)]
USB: gadget: f_mtp: Make sure request is dequeued if transfer is canceled

If the host cancels a file transfer while we have a read request pending,
call usb_ep_dequeue to cancel the read.
Also return -ECANCELED from mtp_ioctl if we are canceled in MTP_RECEIVE_FILE

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Thu, 13 Jan 2011 04:21:55 +0000 (20:21 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Thu, 13 Jan 2011 04:21:22 +0000 (20:21 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agonet: wireless: bcm4329: Turn off CONFIG_US_NON_DFS_CHANNELS_ONLY
Dmitry Shmidt [Thu, 13 Jan 2011 04:12:26 +0000 (20:12 -0800)]
net: wireless: bcm4329: Turn off CONFIG_US_NON_DFS_CHANNELS_ONLY

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agomdm6600: Resume modem synchronously
Benoit Goby [Wed, 12 Jan 2011 23:38:24 +0000 (15:38 -0800)]
mdm6600: Resume modem synchronously

If runtime pm auto-resumes the modem while the modem is being
disconnected, runtime pm might use the modem power spinlock after free.

Resumes the modem synchronously and make sure there are no pending
wakeup requests before disconnect returns.

Change-Id: Ie5fbbe819324018564502245a53e4fb5a663adb3
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Thu, 13 Jan 2011 01:51:34 +0000 (17:51 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Thu, 13 Jan 2011 01:47:11 +0000 (17:47 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoMerge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Thu, 13 Jan 2011 01:46:58 +0000 (17:46 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years agovideo: tegra: nvmap: Several fixes to the carveout killer
Rebecca Schultz Zavin [Thu, 13 Jan 2011 00:22:36 +0000 (16:22 -0800)]
video: tegra: nvmap: Several fixes to the carveout killer

-Modify the carveout killer to only kill tasks with lower priorities
than the one that's trying to allocate
-After delivering a sigkill to a task, wait for something to exit and
cleanup before retrying the allocation

Change-Id: If62b6ed008a73fc3c347ff26735a83eee284909e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agovideo: tegra: reset default window in release
Sergey Kudakov [Thu, 21 Oct 2010 22:55:50 +0000 (17:55 -0500)]
video: tegra: reset default window in release

Change-Id: I242e9fac525472c5c20f213a6de516f95b2f6a12
Cc: Sergey Kudakov <sergey.kudakov@motorola.com>
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agonet: wireless: bcm4329: Update to version 4.218.248-20
Dmitry Shmidt [Thu, 13 Jan 2011 00:22:14 +0000 (16:22 -0800)]
net: wireless: bcm4329: Update to version 4.218.248-20

- Use US/69 locale for US
- Remove dhdsdio_mem_dump() function

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agocrypto: tegra-aes: Hack to disable HW AES for dm-crypt
Ken Sumrall [Wed, 12 Jan 2011 23:58:37 +0000 (15:58 -0800)]
crypto: tegra-aes: Hack to disable HW AES for dm-crypt

The hardware aes engine is required for key management for
HDCP, but since it's performance is bad, we don't want it
enabled for dm-crypt.  This hack changes the cra_name field
so dm-crypt won't find a match, but leaves the cra_driver_name
field unchanged to the device file interface will still find it.

Signed-off-by: Ken Sumrall <ksumrall@android.com>
13 years agocrypto: tegra-aes: improve encrypt/decrypt performance
Varun Wadekar [Wed, 12 Jan 2011 20:59:14 +0000 (02:29 +0530)]
crypto: tegra-aes: improve encrypt/decrypt performance

- enable/disable clocks only once per request
- create a thread for handling the driver's work queue
- always set vde clocks to the max before processing a request

Change-Id: I935e5523e9e913c93705cc694f8a475d212c15ce
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agoleds: cpcap: Convert to global non-reentrant workqueue
Colin Cross [Wed, 12 Jan 2011 20:03:05 +0000 (12:03 -0800)]
leds: cpcap: Convert to global non-reentrant workqueue

schedule_work puts work items into a global workqueue that is
not single threaded.  If the work item is running when a
second schedule_work is called, the second one could be
immediately scheduled onto the second cpu while the first
one is running, breaking the synchronization expected in
cpcap_brightness_work.

Fix by converting schedule_work to queue_work(system_nrt_wq),
which puts the work on a global single-threaded workqueue.

Change-Id: Ieba89e0353b86f11350cb37552afbce5abe87088
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 12 Jan 2011 19:39:11 +0000 (11:39 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Wed, 12 Jan 2011 19:38:21 +0000 (11:38 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agovideo: tegra: nvmap: Don't store task struct for kernel threads
Rebecca Schultz Zavin [Wed, 12 Jan 2011 19:10:34 +0000 (11:10 -0800)]
video: tegra: nvmap: Don't store task struct for kernel threads

No need to maintain a reference to the task struct if the client
is a kernel thread.  In this case just set the task to NULL.

Change-Id: Ica4785388932f6b298eeb0da04b78b0e1cdc3a44
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agocrypto: tegra-aes: call INIT_COMPLETION before setting the transfer
Varun Wadekar [Tue, 11 Jan 2011 08:33:54 +0000 (14:03 +0530)]
crypto: tegra-aes: call INIT_COMPLETION before setting the transfer

Change-Id: I368a9bf8aa1c311532e54d18a813b556576b8da1
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agocrypto: tegra-aes: do not reset bsev/vde per operation
Varun Wadekar [Fri, 7 Jan 2011 13:02:00 +0000 (18:32 +0530)]
crypto: tegra-aes: do not reset bsev/vde per operation

avp does not use the crypto engine inside the vde block,
so it is ok if we do not reset the entire block before
any crypto operation. this would save more than 100us per crypto
operation.

Change-Id: I4e6f4940c5b6e95498b6f7a62498fbf956e25254
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Wed, 12 Jan 2011 08:04:17 +0000 (00:04 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Wed, 12 Jan 2011 08:04:01 +0000 (00:04 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years ago[ARM] tegra_i2s_audio: fixed several issues
Eric Laurent [Wed, 12 Jan 2011 03:39:58 +0000 (19:39 -0800)]
[ARM] tegra_i2s_audio: fixed several issues

- Acquire the DMA request spinlock in dma_tx_complete_callback()
(this was omitted)
- allow_suspend() was called by mistake in start_recording_if_necessary()
every time it was executed which could cause the wake lock to be
released during audio capture.

Signed-off-by: Eric Laurent <elaurent@google.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] mfd: cpcap-audio: CPCAP CODEC Capture pop
Chris Fries [Tue, 11 Jan 2011 05:01:57 +0000 (23:01 -0600)]
[ARM] mfd: cpcap-audio: CPCAP CODEC Capture pop

There appears to be a warm-up time for the CODEC to stabilize of
25 milliseconds (by measurement).  Avoid noise at the start of
audio capture by holding off the CODEC enable for this duration.

Change-Id: I078af9272875cb77388fbbbd2796c4ba69301cb4
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] mfd: cpcap-audio: Deadlock in audio capture after LP0
Chris Fries [Tue, 11 Jan 2011 23:10:01 +0000 (17:10 -0600)]
[ARM] mfd: cpcap-audio: Deadlock in audio capture after LP0

LP0 was clearing out the DAC/DAP configuration registers.
Currently the CPCAP audio driver owns their configuration at
runtime, so fix the port config during system resume.

Change-Id: Ib7f26085d55a9184649b79ec8f647830d135489b
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] mfd: cpcap-audio: fixed mic inversion.
Eric Laurent [Mon, 10 Jan 2011 18:48:19 +0000 (10:48 -0800)]
[ARM] mfd: cpcap-audio: fixed mic inversion.

There was an inversion between built-in mic and headset mic
in cpcap_audio_ctl_ioctl() which made that the wrong mic was
activated when exiting standby.

Signed-off-by: Eric Laurent <elaurent@google.com>
13 years agoRevert "ARM: tegra: stingray: Disable panic on softlockup for debugging"
Colin Cross [Wed, 12 Jan 2011 01:48:42 +0000 (17:48 -0800)]
Revert "ARM: tegra: stingray: Disable panic on softlockup for debugging"

This reverts commit 05b22a4f5420263e66c330ad7d58da1c598b5334.

13 years agoARM: tegra: clock: Round frequency up in clock dividers
Colin Cross [Wed, 12 Jan 2011 00:59:55 +0000 (16:59 -0800)]
ARM: tegra: clock: Round frequency up in clock dividers

When picking clock divider values, the clock framework picks
the closest frequency that is lower than the requested
frequency.  If the value from a clock divider rounds down,
and then the new rounded down frequency is requested, it
will get rounded down again, resulting in a frequency two
steps lower than the original requested frequency.

Fix the problem by rounding up when calculating the frequency
coming out of a clock divider, so if that frequency is
requested again, the same divider value will be picked.

Change-Id: Ieaf74448f67d91aeb7ba08226e48c092d8afaa2b
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: stingray: Add watchdog timer to stingray board file
Rebecca Schultz Zavin [Tue, 11 Jan 2011 23:40:50 +0000 (15:40 -0800)]
ARM: tegra: stingray: Add watchdog timer to stingray board file

Change-Id: Ia20586b42fb95601e45e4fbb9623b8e3b0db6b86
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoARM: configs: Add watchdog to stingray defconfig
Rebecca Schultz Zavin [Tue, 11 Jan 2011 23:41:58 +0000 (15:41 -0800)]
ARM: configs: Add watchdog to stingray defconfig

Change-Id: I909c61b9068c5ba53832fff1712e157e04d21163
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 12 Jan 2011 00:43:37 +0000 (16:43 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Wed, 12 Jan 2011 00:42:30 +0000 (16:42 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agovideo: tegra: work around overlay corruption on underflows
Erik Gilling [Wed, 12 Jan 2011 00:32:20 +0000 (16:32 -0800)]
video: tegra: work around overlay corruption on underflows

Overlays can get their internal state corrupted during and underflow
condition.  The only way to fix this state is to reset the DC.  If we get
4 consecutive frames with underflows, assume we're hosed and reset.

Change-Id: Icdf61517837c8570b8de35f585075de08aa35fe7
Signed-off-by: Erik Gilling <konkers@android.com>
Cc: Michael I. Gold <gold@nvidia.com>
13 years agowatchdog: tegra_wdt: Several changes to watchdog driver
Rebecca Schultz Zavin [Tue, 11 Jan 2011 23:35:47 +0000 (15:35 -0800)]
watchdog: tegra_wdt: Several changes to watchdog driver

Add a config option to enable the watchdog driver from probe
Reduce the default timeout to 30 seconds
Read the reset reason and print a messge if the last reboot was
due to watchdog reset

Change-Id: I7500ef236089b06ffcff3d8e7d86a5b9060b59cb
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agotegra: enable filters in backlight controller
makarand.karvekar [Tue, 11 Jan 2011 22:33:33 +0000 (16:33 -0600)]
tegra: enable filters in backlight controller

updated hysteresis and enabled slope, advanced slope
to smooth brightness transitions.

Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoARM: tegra: clock: Save and restore audio clock during suspend
Colin Cross [Tue, 11 Jan 2011 20:15:01 +0000 (12:15 -0800)]
ARM: tegra: clock: Save and restore audio clock during suspend

Change-Id: Id1c7a6c8e8679995ad462f17309c2f3550c00da1
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Tue, 11 Jan 2011 03:09:49 +0000 (19:09 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Tue, 11 Jan 2011 03:09:22 +0000 (19:09 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoARM: tegra: clock: Save and restore plld, plls, and pllu in suspend
Colin Cross [Tue, 11 Jan 2011 02:39:43 +0000 (18:39 -0800)]
ARM: tegra: clock: Save and restore plld, plls, and pllu in suspend

HDMI was not working after LP0 because the plld were being reset
during suspend.  plls and pllu were also not being saved.  Add
all three to tegra_clk_suspend.

The lock time for plld is 1000 us, so increase the delay after
setting the PLLs.

Add a BUG_ON to ensure the size of the suspend context area is
correct.

Originally fixed by Mayuresh Kulkarni.

Original-author: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Change-Id: I50a3e994c6e3cab5989aa7a8e26e7a2eb66b6dfb
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: configs: Add NVMAP_CARVEOUT_KILLER to stingray_defconfig
Rebecca Schultz Zavin [Tue, 11 Jan 2011 01:34:51 +0000 (17:34 -0800)]
ARM: configs: Add NVMAP_CARVEOUT_KILLER to stingray_defconfig

Change-Id: I745308dd74d45d10bc11dd1f46a0462fa7984ab1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agofirmware: cpcap: Improvements to reset procedures
Greg Meiste [Tue, 11 Jan 2011 00:44:03 +0000 (18:44 -0600)]
firmware: cpcap: Improvements to reset procedures

1) Fix an issue where soft resets would only occur every other
   boot.

2) On a soft reset, put the CPCAP back into hard reset mode.  This
   allows the user to issue a second reset command to get a hard
   reset.  (Of course, when the kernel re-loads, CPCAP will be
   put back into soft reset mode.)

Change-Id: Icc46a14fa795971acc4d6de60e4d2db749ab489c
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Tue, 11 Jan 2011 01:19:05 +0000 (17:19 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Tue, 11 Jan 2011 01:18:52 +0000 (17:18 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Tue, 11 Jan 2011 01:18:42 +0000 (17:18 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agocgroup: leave cg_list valid upon cgroup_exit
Simon Wilson [Sat, 8 Jan 2011 02:46:34 +0000 (18:46 -0800)]
cgroup: leave cg_list valid upon cgroup_exit

A thread/process in cgroup_attach_task() could have called
list_del(&tsk->cg_list) after cgroup_exit() had already called
list_del() on the same list. Since it only checked for
!list_empty(&tsk->cg_list) before doing this, the list_del()
call would thus be made twice.

The solution is to leave tsk->cg_list in a valid state in
cgroup_exit() with list_del_init(&tsk->cg_list), which leaves
an empty list.

Change-Id: I4e7c1d0665fced629f5ca033c18dd98afe080e0c
Signed-off-by: Simon Wilson <simonwilson@google.com>
13 years agortc: alarm: Update hrtimer if alarm at the head of the queue is reprogrammed
Arve Hjønnevåg [Sat, 8 Jan 2011 03:00:01 +0000 (19:00 -0800)]
rtc: alarm: Update hrtimer if alarm at the head of the queue is reprogrammed

If an alarm was restarted with a value that moved it away from the head
of a queue, the hrtimer would not be updated. This would cause unnecessary
wakeups.

Change-Id: If379f8dd92b0bdb3173bd8d057adfe0dc1d15259
Signed-off-by: Arve Hjønnevåg <arve@android.com>
13 years ago[ARM] tegra: Add ioctls to tegra2_fuse driver
Greg Meiste [Tue, 4 Jan 2011 20:51:46 +0000 (14:51 -0600)]
[ARM] tegra: Add ioctls to tegra2_fuse driver

Exposing the fuse API to userspace for factory.

Submitted on behalf of Eyob Tesfu <eyob.tesfu@motorola.com>

Change-Id: Ib2a03c49bde7990d89165db24db41f1ea832a5b7
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoARM: tegra: Fix powergate_debugfs_init return value
Benoit Goby [Mon, 10 Jan 2011 22:58:00 +0000 (14:58 -0800)]
ARM: tegra: Fix powergate_debugfs_init return value

Change-Id: Iff865e0f74e1667aa6e998a63d33d3b4cd09694c
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomdm6600_ctrl: Hold down pwron pin until acknowledged by modem
James Wylder [Mon, 10 Jan 2011 21:23:26 +0000 (15:23 -0600)]
mdm6600_ctrl: Hold down pwron pin until acknowledged by modem

This ensures that the modem powers down correctly and is
part of the fix required to ensure that the BP powers up
correctly after reflash / over the air update.

Change-Id: Ied6a1fe2213127c944547ac2ed86abaf0eb63bd2
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoinpus: touchscreen: qtouch: Fix permissions on device attributes
makarand.karvekar [Fri, 7 Jan 2011 16:55:05 +0000 (10:55 -0600)]
inpus: touchscreen: qtouch: Fix permissions on device attributes

Change-Id: I7aa9004ee42375e0bd7cf4d79cc0ef4580918e70
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agovideo: tegra: nvmap: Add carveout killer
Rebecca Schultz Zavin [Fri, 3 Dec 2010 23:43:33 +0000 (15:43 -0800)]
video: tegra: nvmap: Add carveout killer

This change attempts to reclaim carveout memory by killing
other carveout users when an allocation fails.  Processes
are killed in order of priority from lowest to highest, and then
from largest to smallest users.

Change-Id: Iee8a6f36269bc8165d691000a153dbf9f4337775
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Mon, 10 Jan 2011 03:20:26 +0000 (19:20 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36