firefly-linux-kernel-4.4.55.git
14 years ago[ARM] mfd: cpcap-audio: fix typos.
Chris Fries [Wed, 13 Oct 2010 03:55:30 +0000 (22:55 -0500)]
[ARM] mfd: cpcap-audio: fix typos.

Change-Id: Ic825d2765d6e1c879e4278e2c0212ddf9bf5959f
Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoRevert "[ARM] mfd: tegra-cpcap-audio: workaround for audio wakelock preventing LP0"
Iliyan Malchev [Wed, 13 Oct 2010 20:02:36 +0000 (13:02 -0700)]
Revert "[ARM] mfd: tegra-cpcap-audio: workaround for audio wakelock preventing LP0"

This reverts commit f922d75a29624dc250a74d90f8c8e9e7c1f8988d.

14 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 15 Oct 2010 00:19:09 +0000 (17:19 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/mach-tegra/tegra_i2s_audio.c

Change-Id: I9e2892c49d97c63de3a8e5797d6d9a123ae2d161

14 years ago[ARM] tegra_i2s_audio: add suspend wakelocks
Iliyan Malchev [Thu, 14 Oct 2010 23:35:59 +0000 (16:35 -0700)]
[ARM] tegra_i2s_audio: add suspend wakelocks

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Thu, 14 Oct 2010 23:22:55 +0000 (16:22 -0700)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

14 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Thu, 14 Oct 2010 23:22:51 +0000 (16:22 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

14 years ago[arm]: tegra: dma: DMA error debugging.
Mike Corrigan [Thu, 14 Oct 2010 18:56:13 +0000 (13:56 -0500)]
[arm]: tegra: dma: DMA error debugging.

Print an error message when a DMA channel cannot be allocated.

Change-Id: I93a96851ac12c5ea66b2fb053033aa4260c2178a
Signed-off-by: Mike Corrigan <michael.corrigan@motorola.com>
14 years ago[arm]: tegra: serial: DMA allocation fix.
Mike Corrigan [Thu, 14 Oct 2010 18:55:13 +0000 (13:55 -0500)]
[arm]: tegra: serial: DMA allocation fix.

Handle the case where DMA channels cannot be allocated and PIO must be used.
Fixed a typo for forcing RX to use PIO.

Change-Id: I167184f9ce936d4a08dd9919ae4f8b0d9ad7e0c4
Signed-off-by: Mike Corrigan <michael.corrigan@motorola.com>
14 years agommc: Fix pm_notifier obeying deferred resume
Dmitry Shmidt [Thu, 14 Oct 2010 22:20:21 +0000 (15:20 -0700)]
mmc: Fix pm_notifier obeying deferred resume

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years agovideo: tegra: update overlay stride in fb_set_par
Erik Gilling [Fri, 17 Sep 2010 21:44:28 +0000 (14:44 -0700)]
video: tegra: update overlay stride in fb_set_par

Fixes recovery graphics

Change-Id: I68824dfcd29b40eaa27a8b5ee437e5763288a49e
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agospi: tegra: cleanups from upstream review
Erik Gilling [Wed, 13 Oct 2010 20:06:29 +0000 (13:06 -0700)]
spi: tegra: cleanups from upstream review

Change-Id: Icecf7e64efcb39de072a15234ba1faa4bad40d25
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra_i2s_audio: add support for DSP (PCM) mode.
Chris Fries [Wed, 13 Oct 2010 03:00:25 +0000 (22:00 -0500)]
[ARM] tegra_i2s_audio: add support for DSP (PCM) mode.

Change-Id: I132b8b7709c154ca1fb52f437966bd90451e89f7
Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra_i2s_audio: fixes
Iliyan Malchev [Tue, 12 Oct 2010 19:50:48 +0000 (12:50 -0700)]
[ARM] tegra_i2s_audio: fixes

-- Ignore kfifo thresholds on recording and playback and adjust the delays.
-- Take out the code from TEGRA_AUDIO_IN_STOP into a separate function
   stop_recording_nosync()
-- Rename stop_recording() to wait_for_recording_to_stop().
-- add ioctl(TEGRA_AUDIO_OUT_FLUSH), which blocks the caller until the output
   fifo is drained.  While the caller is blocked, pending write() calls will
   return immediately with whatever data they had managed to queue up.
-- removed ioctl(TEGRA_AUDIO_OUT_PRELOAD_FIFO)
-- since TEGRA_AUDIO_OUT_FLUSH and TEGRA_AUDIO_IN_STOP act similarly, moved
   audio_driver_state::recording_cancelled to audio_stream::stop and changed
   the code accordingly.  Renamed functions wait_for_recording_to_stop() and
   stop_recording_nosync() to wait_till_stopped() and request_stop_nosync()
   since they handle both playback and recording.
-- print errors on close() if wakelocks are still held
-- Call request_stop_nosync() on close() of a recording file handle
-- Do not use struct audio_stream::active for playback streams.  Instead,
   where applicable, use kfifo_len().  As a consequence, playback kfifo
   underruns are no longer reported.  These were bogus anyway, as we really
   need the DMA engine to tell us if there are underruns.
-- Because of above item, had to rework tx_fifo_atn_store(),
   rx_fifo_atn_store(), and __attr_fifo_atn_write().
-- Set struct audio_stream::active for a recording stream to true when a
   recording starts, and set it to false when recording get stopped.  Do not
   set/clear it within the body of read(), because just being within read()
   does not mean that recording is in progress.
-- In tegra_audio_read(), check for stop == true before calling
   start_recording_if_necessary(); this makes sure that if a user calls read()
   after calling ioctl(TEGRA_AUDIO_IN_STOP), recording will not resume unless
   ioctl(TEGRA_AUDIO_IN_START) gets called, or the file is closed and
   re-opened.
-- Fixed TEGRA_AUDIO_IN_START
-- In PIO mode, enabled FIFOs before enabling interrupts as specified in the
   TRM.
-- Added missing break in tegra_audio_ioctl().
-- Silenced some debug spew

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agousb: gadget: fsl_udc: Add support for USB test mode feature
Jay Cheng [Thu, 10 Jun 2010 20:27:56 +0000 (16:27 -0400)]
usb: gadget: fsl_udc: Add support for USB test mode feature

Adding support for USB-IF High Speed electrical test mode for device mode.
Support added for electrical test modes:
1. TEST_J
2. TEST_K
3. TEST_SE0_NAK
4. TEST_PACKET
5. TEST_FORCE_ENABLE

originally fixed by Venkat Moganty <vmoganty@nvidia.com>

Change-Id: If5a4dcf9eb81dc368f24c660460d35495b6a4253
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
14 years agousb: gadget: fsl_udc: Fix dTDs allocation gfp flags
Benoit Goby [Tue, 21 Sep 2010 04:19:37 +0000 (21:19 -0700)]
usb: gadget: fsl_udc: Fix dTDs allocation gfp flags

fsl_build_dtd may be called from atomic context. Don't hardcode the gfp
flag to GFP_KERNEL. Pass down to dma_pool_alloc the flag used by the
function driver to enqueue the request.

Change-Id: Iba1ccf73bbcd648b8c13228157431d2ce52979ef
Signed-off-by: Benoit Goby <benoit@android.com>
14 years agousb: gadget: fsl_udc: Prevent udc timeout on suspend
Colin Cross [Fri, 23 Jul 2010 19:54:37 +0000 (12:54 -0700)]
usb: gadget: fsl_udc: Prevent udc timeout on suspend

Change-Id: Ic4780063d432860df835c54c17b2b9249132c8c5
Signed-off-by: Colin Cross <ccross@android.com>
14 years agoRevert "[ARM]: tegra: tuning for touch-panel in stingray board file"
Rebecca Schultz Zavin [Wed, 13 Oct 2010 21:09:46 +0000 (14:09 -0700)]
Revert "[ARM]: tegra: tuning for touch-panel in stingray board file"

This reverts commit ae4691e0a9a79c158feb755ca0b32d7693bc0f54.

14 years ago[ARM] tegra: stingray: fix HDMI support
Erik Gilling [Wed, 13 Oct 2010 00:13:16 +0000 (17:13 -0700)]
[ARM] tegra: stingray: fix HDMI support

This moves the nvmap carveout to make room for the HDMI framebuffer
and hard codes the buffer's location.

Change-Id: I06609ce127d01fba66ddbef6ee4a25ff2ad181c7
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra: nvrm: duplicate all handles on AVP pin
Gary King [Tue, 12 Oct 2010 22:39:21 +0000 (15:39 -0700)]
[ARM] tegra: nvrm: duplicate all handles on AVP pin

one of the AVP modules used by camera apparently pins a handle
without duplicating the handle onto the AVP first. this is
an incorrect usage of the API, but was only flagged as an error
with the new nvmap implementation.

work-around this for now by performing an explicit duplicate on
pin, and an explicit free on unpin.

Change-Id: I49777fdd1009e564ac326fda00b96275d0ae5c19
Signed-off-by: Gary King <gking@nvidia.com>
14 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Wed, 13 Oct 2010 01:50:31 +0000 (18:50 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/mach-tegra/Makefile

14 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Wed, 13 Oct 2010 01:47:05 +0000 (18:47 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

14 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Wed, 13 Oct 2010 01:44:55 +0000 (18:44 -0700)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

14 years agopanjit_touch: add early suspend support to panjit I2C touchscreen
Gary King [Wed, 4 Aug 2010 00:56:37 +0000 (17:56 -0700)]
panjit_touch: add early suspend support to panjit I2C touchscreen

Change-Id: I1adc2bb646269f17480718a7efb3dc14e6325fbc
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] add config file for tegra SoCs running Android
Gary King [Thu, 7 Oct 2010 21:12:18 +0000 (14:12 -0700)]
[ARM] add config file for tegra SoCs running Android

Change-Id: I989d6f498aa5abbd46adff5875969b39060d9ea1
Signed-off-by: Gary King <gking@nvidia.com>
14 years agotegra: ventana: add adb support
Gary King [Thu, 7 Oct 2010 20:49:08 +0000 (13:49 -0700)]
tegra: ventana: add adb support

Change-Id: I79e57cd58fc83242c4b1c5e1e03fab041ed69e57
Signed-off-by: Gary King <gking@nvidia.com>
14 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Wed, 13 Oct 2010 01:33:34 +0000 (18:33 -0700)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

14 years ago[ARM] tegra: ventana: add graphics support
Gary King [Sat, 2 Oct 2010 00:00:39 +0000 (17:00 -0700)]
[ARM] tegra: ventana: add graphics support

register the tegradc0, tegradc1, grhost, pwm-backlight and carveout
devices

Change-Id: Ia61c0632470e571cc57279dc3b197ccd1fca80f0
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: ventana: add ldo3 consumer for avdd_lvds
Gary King [Fri, 10 Sep 2010 03:01:08 +0000 (20:01 -0700)]
[ARM] tegra: ventana: add ldo3 consumer for avdd_lvds

Change-Id: If5e07b2eb62805a00426799184989fa290318f4a
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: ventana: remove BUG() in set_charge.
Gary King [Fri, 1 Oct 2010 00:03:16 +0000 (17:03 -0700)]
[ARM] tegra: ventana: remove BUG() in set_charge.

Signed-off-by: Gary King <gking@nvidia.com>
14 years agovideo: tegra: nvmap: Only allow allocations out of highmem
Rebecca Schultz Zavin [Wed, 13 Oct 2010 00:03:02 +0000 (17:03 -0700)]
video: tegra: nvmap: Only allow allocations out of highmem

Low mem pages are allocated in larger super pages and their caching
attributes can't be controlled on a per page basis.  This patch
forces nvmap to map out of highmem pages which are guaranteed to have
page mappings.

Change-Id: Id3921342ecceb0345d43365d4dd90b82ca8cfd11
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years agoRevert "[ARM] mmu: add option to map lowmem with page mappings"
Rebecca Schultz Zavin [Tue, 12 Oct 2010 23:58:27 +0000 (16:58 -0700)]
Revert "[ARM] mmu: add option to map lowmem with page mappings"

This reverts commit ac21b321048091bdbf45bbda87161cc9f312c393.

14 years ago[ARM] attrib_alloc: fix outer cache flush end address
Gary King [Tue, 12 Oct 2010 22:37:01 +0000 (15:37 -0700)]
[ARM] attrib_alloc: fix outer cache flush end address

when allocating uncached pages, the outer cache should be flushed;
the end address should be specified in bytes, not in pages.

Change-Id: I3fe036f4f7e10e009f96567e3afeeef6ea603240
Signed-off-by: Gary King <gking@nvidia.com>
14 years agoRevert "video: tegra: add utility function to compute framebuffer stride"
Erik Gilling [Mon, 11 Oct 2010 22:36:11 +0000 (15:36 -0700)]
Revert "video: tegra: add utility function to compute framebuffer stride"

This reverts commit 10c751b8f5bb78f674d4939b47be933934bb23dd.

Change-Id: I236ddcd531d3ca17c8727cac84e6d2aa6e27dbe1

14 years agovideo: tegra: clean up fb flipping code
Erik Gilling [Mon, 11 Oct 2010 22:35:41 +0000 (15:35 -0700)]
video: tegra: clean up fb flipping code

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: I1c1f5aea92c1b062c8ccf2f2f6116c399d847262

14 years ago[ARM] tegra: add 10us delay after unclamping in powergate_on sequence
Erik Gilling [Fri, 8 Oct 2010 21:12:15 +0000 (14:12 -0700)]
[ARM] tegra: add 10us delay after unclamping in powergate_on sequence

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: I94a979e6a1ec6ecf80b4d4f1721a8aacac7b8a11

14 years agovideo: tegra: dump current pushbuffer from channel debugger
Michael I. Gold [Fri, 24 Sep 2010 18:41:51 +0000 (11:41 -0700)]
video: tegra: dump current pushbuffer from channel debugger

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: Ia14a2bad23ae1c6401755d413ffdc32c9f35b0fd

14 years agovideo: tegra: fix host1x command decoding debug prints
Erik Gilling [Thu, 7 Oct 2010 22:47:26 +0000 (15:47 -0700)]
video: tegra: fix host1x command decoding debug prints

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: Ia0073a4e679174fc7e9ca6ff0b67973980c6af97

14 years agovideo: tegra: lock around DC suspend/resume
Erik Gilling [Thu, 7 Oct 2010 22:45:49 +0000 (15:45 -0700)]
video: tegra: lock around DC suspend/resume

Change-Id: I9c134a2417106538b15cc1cfd615cfb65573e878
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] mfd: tegra-cpcap-audio: workaround for audio wakelock preventing LP0
Greg Meiste [Wed, 6 Oct 2010 19:27:28 +0000 (14:27 -0500)]
[ARM] mfd: tegra-cpcap-audio: workaround for audio wakelock preventing LP0

The audio output FIFO is not empty when the request to put audio in standby
occurs.  This stops the DMA callbacks, preventing the FIFO from ever emptying.
Therefore, audio will forever hold a wakelock, preventing the device from
entering LP0.

Change-Id: I8a642916707d07e2ff71f4e0ff7fc0f23dd41959
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agofs: EFI: Convert UTF-16LE partition names to UTF-8
Todd Poynor [Tue, 12 Oct 2010 23:17:04 +0000 (16:17 -0700)]
fs: EFI: Convert UTF-16LE partition names to UTF-8

Change-Id: Ib3f91913e69ca8d5a3bd644e3a01deca690067a8
Signed-off-by: Todd Poynor <toddpoynor@google.com>
14 years ago[ARM]: stingray: panel file - adjust panel timings
Sergey Kudakov [Thu, 30 Sep 2010 19:37:05 +0000 (14:37 -0500)]
[ARM]: stingray: panel file - adjust panel timings

display should now run at 60.015940 Hz

Change-Id: I26da77694e858ddc4e7db5130e86633f6044f359
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agovideo: tegra: nvmap: fix read failures, super user and noref pinning
Gary King [Mon, 11 Oct 2010 21:22:35 +0000 (14:22 -0700)]
video: tegra: nvmap: fix read failures, super user and noref pinning

a >= vs > error when checking the operating region of the read and
write ioctls was causing failures when reading the last byte of a handle.

the super-user node (knvmap) wasn't registered correctly due to a cut-
and-paste error, and the regular user node was assigned super-user
priveleges.

noref pinning wasn't correctly validating that the specified handle
existed before pinning it, which caused the reference count for the
handle to become imbalanced on a subsequent unpin

Change-Id: I9985b85023705b00389a53fb962c3b60d62da6b8
Signed-off-by: Gary King <gking@nvidia.com>
14 years agomisc: kernel_debugger: fix handle_sysrq call
Erik Gilling [Tue, 31 Aug 2010 01:16:30 +0000 (18:16 -0700)]
misc: kernel_debugger: fix handle_sysrq call

Change-Id: I58376b7de56751fd57a038fb8f908f36fe60dda1
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Author:    Erik Gilling <konkers@android.com>

14 years agomisc: mdm6600_ctrl: Fix incorrect status definitions.
Kazuhiro Ondo [Mon, 11 Oct 2010 18:17:17 +0000 (13:17 -0500)]
misc: mdm6600_ctrl: Fix incorrect status definitions.

Change-Id: I3e86c9818aede3c8f48996d8198affd0fbd998cf

14 years agospi: tegra: Increase delay between CS and clock start
Greg Meiste [Thu, 30 Sep 2010 16:40:22 +0000 (11:40 -0500)]
spi: tegra: Increase delay between CS and clock start

Some SPI devices require a delay between the CS and when the clock
starts.  Increase SS_SETUP to accommodate these devices.

Change-Id: I301e3583e70c722cadde5a9f91119881805dd3a5
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years ago[ARM]: tegra: stingray: Add Bluetooth Bypass switch for DAC2-DAP4
Chris Fries [Thu, 7 Oct 2010 04:57:42 +0000 (23:57 -0500)]
[ARM]: tegra: stingray: Add Bluetooth Bypass switch for DAC2-DAP4

Split the old "init_das()" into two separate functions, one for DAC1->DAP1 and
one for DAC2->DAP2/4.  The DAC2 will now talk to either CPCAP CODEC or
Bluetooth SCO.

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra: stingray: add new nvmap support
Rebecca Schultz Zavin [Fri, 8 Oct 2010 22:32:19 +0000 (15:32 -0700)]
[ARM] tegra: stingray: add new nvmap support

Change-Id: Ib98ed9b8f6163c68d3e3023504d0b0e9c7d961bc
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: nvrm: implement nvrm transport on new nvmap interface
Gary King [Fri, 10 Sep 2010 00:04:17 +0000 (17:04 -0700)]
[ARM] tegra: nvrm: implement nvrm transport on new nvmap interface

Change-Id: I0c977667c0b1caa1d634d0975237d0afb596599c
Signed-off-by: Gary King <gking@nvidia.com>
14 years agoMerge commit 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Fri, 8 Oct 2010 23:07:01 +0000 (16:07 -0700)]
Merge commit 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

14 years agotegra: revert a bunch of changes
Gary King [Wed, 29 Sep 2010 16:47:24 +0000 (09:47 -0700)]
tegra: revert a bunch of changes

delete nvmap, nvhost, syncpoint flipping, nvos_page, inner-cacheable
and read-allocate code, so that they can be downmerged cleanly from
linux-tegra-2.6.35

Change-Id: I34793bb75cf359670fc18aaf1fcaf0b22be00d4d
Signed-off-by: Gary King <gking@nvidia.com>
14 years agoMerge commit 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Fri, 8 Oct 2010 23:04:11 +0000 (16:04 -0700)]
Merge commit 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

14 years agovideo: tegra: add host1x support to driver
Gary King [Tue, 31 Aug 2010 23:45:55 +0000 (16:45 -0700)]
video: tegra: add host1x support to driver

includes changes by:

Antti Hatala <ahatala@nvidia.com> (1)
Gary King <gking@nvidia.com> (1)
Erik Gilling <konkers@android.com> (2)

Antti Hatala <ahatala@nvidia.com>
video: tegra: dc: use nvhost driver for host1x power management

Gary King <gking@nvidia.com>
video: tegra: fb: add ioctl to flip dc windows to nvmap handles

Erik Gilling <konkers@android.com>
video: tegra: dc: increment syncpoints following window flips
video: tegra: drain syncpt waits on display disable

Original commit messages:
**
video: tegra: dc: use nvhost driver for host1x power management

Incrementing the frame done syncpoint value from the display interrupt
requires that the host module is powered on. As the syncpoint state is
saved and restored automatically by the host driver a cpu increment of
a syncpoint in the powered down state will be lost.

Also adds checks for host module being powered.
**
video: tegra: fb: add ioctl to flip dc windows to nvmap handles

tegra user-space graphics drivers may allocate framebuffers using
nvmap rather than rendering to the common framebuffer, this may
be done to support deeper buffer pipelining, color formats
and pixel layouts other than the initial bootup framebuffer,
etc.

to use this ioctl, a caller must first specify an nvmap fd
which is already open in the calling process so that the
subsequent flip ioctls may be properly validated. flips are performed
asynchronously, with flip completion notifications provided back to
the caller via the host1x syncpoint mechanism

based on earlier changes made by Antti Hatala <ahatala@nvidia.com>
and Erik Gilling <konkers@android.com>

Change-Id: I4e8a8bb92085a485d65fd87d89112b2969ee37ff
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: add graphics host to devices.c
Gary King [Sat, 2 Oct 2010 00:02:12 +0000 (17:02 -0700)]
[ARM] tegra: add graphics host to devices.c

Change-Id: I4c694d3c9f8a15975591ba5b61625da410991efd
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: add SYNCPT_THRESH interrupts to irqs.h
Gary King [Sat, 2 Oct 2010 00:21:12 +0000 (17:21 -0700)]
[ARM] tegra: add SYNCPT_THRESH interrupts to irqs.h

Change-Id: Ibff6f3281b6e81143b5f4535d6d5688e6a631b46
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: add graphics host apertures to iomap.h
Gary King [Sat, 2 Oct 2010 00:20:24 +0000 (17:20 -0700)]
[ARM] tegra: add graphics host apertures to iomap.h

Change-Id: Ic6acf37bdc36aaa8af71bd2a576089ca8579fcc6
Signed-off-by: Gary King <gking@nvidia.com>
14 years agovideo: tegra: host1x driver
Gary King [Tue, 31 Aug 2010 22:51:55 +0000 (15:51 -0700)]
video: tegra: host1x driver

the graphics and display hardware on tegra SoCs is accessed
through a command DMA front-end called host1x

host driver clients place commands into memory objects called
streams, and submit a stream on one of 8 channels: the assignment
of streams-to-channels depends on the hardware module(s) programmed
by the stream: for example, all streams which program the 3D
hardware are submitted on channel 1.

the host1x hardware includes two synchronization primitives to
allow command streams to synchronize access to memory or to
hardware engines shared across channels (e.g. the 2D blitter):
sync points and module mutexes. both primitives can also be
used to synchronize with the CPU.

the host1x driver performs power management for all modules
behind the host block: once a module is idle (i.e., the
last stream which accesses it has completed, indicated by
a syncpoint) and has remained idle for an extended period
of time, the module's clock (and power gate island, if the
module is uniquely power-gated) is disabled, and will be
automatically re-enabled when a new stream is submitted for
that module.

includes channel debugging support originally implemented
by Erik Gilling <konkers@google.com>

Original Author: Antti Hatala <ahatala@nvidia.com>
Signed-off-by: Gary King <gking@nvidia.com>
Change-Id: Idf0ecc8e7710f3839903a9fbfbe5650990a96b2c

14 years agovideo: tegra: add utility function to compute framebuffer stride
Gary King [Sun, 15 Aug 2010 18:26:49 +0000 (11:26 -0700)]
video: tegra: add utility function to compute framebuffer stride

framebuffers will generally not be exactly width * bpp / 8 bytes wide;
on tegra, linearly-addressed framebuffers will generally be rounded
up so that the stride is a multiple of 16B (so that they are compatible
with rendering from the hardware engines), and tiled framebuffers
will be a multiple of the tile width (64B).

add a utility function to tegra_dc to compute the correct stride
given a width, bpp and pixel layout, and use this in set_par.

Change-Id: I803a55b49c12476f20d5644707899c3fe1336c2d
Signed-off-by: Gary King <gking@nvidia.com>
14 years agovideo: tegra: move nvhost.h to mach-tegra/include/nvhost.h
Gary King [Thu, 16 Sep 2010 20:28:51 +0000 (13:28 -0700)]
video: tegra: move nvhost.h to mach-tegra/include/nvhost.h

Change-Id: I3bcc0a91cb379c0bd6ef382a5bf10e2406e55697
Signed-off-by: Gary King <gking@nvidia.com>
14 years agovideo: tegra: add GPU memory management driver (nvmap)
Gary King [Tue, 31 Aug 2010 21:04:37 +0000 (14:04 -0700)]
video: tegra: add GPU memory management driver (nvmap)

nvmap provides an interface for user- and kernel-space clients to
allocate and access memory "handles" which can be pinned to enable
the memory to be shared with DMA devices on the system, and may
also be mapped (using caller-specified cache attributes) so that
they are directly accessible by the CPU.

the memory handle object gives clients a common API to allocate from
multiple types of memory: platform-reserved physically contiguous
"carveout" memory, physically contiguous (order > 0) OS pages,
or physically discontiguous order-0 OS pages that can be remapped
into a contiguous region of the DMA device's virtual address space
through the tegra IOVMM subsystem.

unpinned and unmapped memory handles are relocatable at run-time
by the nvmap system. handles may also be shared between multiple
clients, allowing (for example) a window manager and its client
applications to directly share framebuffers

Change-Id: Ie8ead17fe7ab64f1c27d922b1b494f2487a478b6
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: mirror inner-cacheable change in tegra startup
Gary King [Wed, 15 Sep 2010 16:55:30 +0000 (09:55 -0700)]
[ARM] tegra: mirror inner-cacheable change in tegra startup

Change-Id: Ibe2662934076a28a6ce22ffc5eb0bfaa46f98ccd
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] mm: add memory type for inner-writeback
Gary King [Wed, 15 Sep 2010 16:49:24 +0000 (09:49 -0700)]
[ARM] mm: add memory type for inner-writeback

For streaming-style operations (e.g., software rendering of graphics
surfaces shared with non-coherent DMA devices), the cost of performing
L2 cache maintenance can exceed the benefit of having the larger cache
(this is particularly true for OUTER_CACHE configurations like the ARM
PL2x0).

This change uses the currently-unused mapping 5 (TEX[0]=1, C=0, B=1)
in the tex remapping tables as an inner-writeback-write-allocate, outer
non-cacheable memory type, so that this mapping will be available to
clients which will benefit from the reduced L2 maintenance.

Change-Id: Iaec3314a304eab2215100d991b1e880b676ac906
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: change SMP startup to use read-allocate cache
Gary King [Wed, 15 Sep 2010 16:42:36 +0000 (09:42 -0700)]
[ARM] tegra: change SMP startup to use read-allocate cache

mirror the change to v7 common startup in the tegra-specific
LP2 and hotplug statup routines

Change-Id: I0552eba951dbfc168e37e59b41394d31fab30256
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] mm: change to read-allocate as default SMP cache policy
Gary King [Wed, 15 Sep 2010 16:32:10 +0000 (09:32 -0700)]
[ARM] mm: change to read-allocate as default SMP cache policy

the "streaming" mode optimization which skips cacheline allocation
for fully-dirty lines is frequently defeated when coherent processors
perfom stores simultaneously

this results in cachelines being allocated in SMP which are not
allocated when run in uniprocessor, resulting in a significant
reduction in aggregate write bandwidth. for example, on Tegra 2
systems with 300MHz DDR main memory, running memset over a large
buffer (i.e., L2 miss) on a single processor will achieve ~2GB/sec
of write bandwidth, but if the same operation is run in parallel on
both CPUs, the aggregate write bandwidth is just 500MB/sec

changing the cache allocation policy to read-allocate reduces some
of this performance loss on SMP systems.

Change-Id: Ice47ab0a15f2490b7e9a007b4b37800566ed7be1
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: remove inner-writeback memory type from SMP startup
Gary King [Wed, 15 Sep 2010 16:24:35 +0000 (09:24 -0700)]
[ARM] tegra: remove inner-writeback memory type from SMP startup

the memory remapping (NMRR) registers were configured differently
by the SMP and LP2 startup code from the standard kernel.

temporarily reverting the inner-writeback change for now.

Change-Id: Ib9c4fc75580d1cc705a5dd83377c0703669bcabc
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] mm: add page allocator for modifying cache attributes
Gary King [Mon, 2 Aug 2010 22:55:16 +0000 (15:55 -0700)]
[ARM] mm: add page allocator for modifying cache attributes

ARM CPUs with speculative prefetching have undefined behaviors when the
same physical page is mapped to two different virtual addresses with
conflicting cache attributes.

since many recent systems include IOMMU functionality (i.e., remapping
of discontiguous physical pages into a virtually-contiguous address
range for I/O devices), it is desirable to support allocating any
available OS memory for use by the I/O devices. however, since many
systems do not support cache coherency between the CPU and DMA devices,
these devices are left with using DMA-coherent allocations from the OS
(which severely limits the benefit of an IOMMU) or performing cache
maintenance (which can be a severe performance loss, particularly on
systems with outer caches, compared to using DMA-coherent memory).

this change adds an API for allocating pages from the OS with specific
cache maintenance properties and ensures that the kernel's mapping
of the page reflects the desired cache attributes, in line with the
ARMv7 architectural requirements

Change-Id: If0bd3cfe339b9a9b10fd6d45a748cd5e65931cf0
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] mmu: add option to map lowmem with page mappings
Gary King [Thu, 7 Oct 2010 19:44:06 +0000 (12:44 -0700)]
[ARM] mmu: add option to map lowmem with page mappings

add a kernel configuration to map the kernel's lowmem pages using PTE
mappings, rather than the default behavior of 1MiB section mappings.
on ARMv7 processors, to support allocating pages with DMA-coherent
cache attributes, the cache attributes specified in the kernel's
mapping must match cache attributes specified for other mappings;
to ensure that this is the case, the kernel's attributes must be
specified on a per-page basis.

to avoid problems caused by the init_mm page table allocations exceeding
the available initial memory, when this config is enabled lowmem is
initially mapped using sections (matches current behavior), then remapped
using pages after bootmem is initialized

Change-Id: I8a6feba1d6806d007e17d9d4616525b0446c0fb1
Signed-off-by: Gary King <gking@nvidia.com>
14 years ago[ARM] tegra: i2s: Add I2S ioctl for setting bit format
Chris Fries [Fri, 8 Oct 2010 18:54:28 +0000 (13:54 -0500)]
[ARM] tegra: i2s: Add I2S ioctl for setting bit format

Added an ioctl to set the bit format for I2S between "DSP"/"PCM" mode and
normal mode (set by board file)

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoHACK: fiq_debugger: Default to console enabled
Colin Cross [Fri, 8 Oct 2010 20:22:59 +0000 (13:22 -0700)]
HACK: fiq_debugger: Default to console enabled

Change-Id: I2f39f389def6fafc2ad6ed045ed96d5bc4318d6c
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: stingray: Enable fiq debugger in defconfig
Colin Cross [Fri, 8 Oct 2010 02:27:28 +0000 (19:27 -0700)]
[ARM] tegra: stingray: Enable fiq debugger in defconfig

Change-Id: I7352b4d66b1e181f72188618afc35c8b638f100b
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: stingray: enable fiq debugger in board file
Iliyan Malchev [Sun, 6 Jun 2010 00:45:38 +0000 (17:45 -0700)]
[ARM] tegra: stingray: enable fiq debugger in board file

Change-Id: Id0019b0e849dcac90b6583f30d18d67ca9b7a002
Signed-off-by: Colin Cross <ccross@google.com>
14 years agommc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device
Dmitry Shmidt [Thu, 7 Oct 2010 23:11:18 +0000 (16:11 -0700)]
mmc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 8 Oct 2010 02:22:34 +0000 (19:22 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/mach-tegra/Kconfig

Change-Id: I65b3fafd22be87f9a93cae2d225dd24c174eb7a9

14 years ago[ARM] tegra: Add fiq debugger
Colin Cross [Tue, 5 Oct 2010 01:32:15 +0000 (18:32 -0700)]
[ARM] tegra: Add fiq debugger

Change-Id: Ic625e20c0a9a147ae39153f18d328f2181b81318
Signed-off-by: Colin Cross <ccross@android.com>
14 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 8 Oct 2010 00:37:06 +0000 (17:37 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/mach-tegra/tegra_i2s_audio.c

Change-Id: Id7a483e1377549529f85a8fea67b76a881e40f87

14 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 8 Oct 2010 00:35:27 +0000 (17:35 -0700)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

14 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 8 Oct 2010 00:35:10 +0000 (17:35 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

14 years ago[ARM] fiq glue: Align fiq stacks
Colin Cross [Wed, 6 Oct 2010 05:08:01 +0000 (22:08 -0700)]
[ARM] fiq glue: Align fiq stacks

Change-Id: I956f05d0b0ce48572e611765e56a439dc036c052
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: irq: Implement retrigger
Colin Cross [Sat, 2 Oct 2010 02:16:54 +0000 (19:16 -0700)]
[ARM] tegra: irq: Implement retrigger

Change-Id: I5be02f60f1b0f35835a8d05abdb2934cdafb1122
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: Combine tegra_fiq_select with enable/disable
Colin Cross [Tue, 5 Oct 2010 01:22:56 +0000 (18:22 -0700)]
[ARM] tegra: Combine tegra_fiq_select with enable/disable

Change-Id: Iba3dc43e1a95993a6278eea008c7a8610ed0cd4c
Signed-off-by: Colin Cross <ccross@android.com>
14 years agommc: Add "ignore mmc pm notify" functionality
Dmitry Shmidt [Thu, 7 Oct 2010 21:39:16 +0000 (14:39 -0700)]
mmc: Add "ignore mmc pm notify" functionality

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] fiq debugger: Allow selection of target cpu
Colin Cross [Sat, 2 Oct 2010 06:41:38 +0000 (23:41 -0700)]
[ARM] fiq debugger: Allow selection of target cpu

Change-Id: I676bac08ba12dfa506aea16800fc80432b4bc83d
Signed-off-by: Colin Cross <ccross@android.com>
14 years agoepoll: make epoll_wait use the hrtimer range feature
Shawn Bohrer [Tue, 28 Sep 2010 23:12:05 +0000 (01:12 +0200)]
epoll: make epoll_wait use the hrtimer range feature

This make epoll use hrtimers for the timeout value which prevents
epoll_wait() from timing out up to a millisecond early.

This mirrors the behavior of select() and poll().

Change-Id: Ic6489ab6194935df348d31b8e92239227ffd3f17
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14 years agoselect: rename estimate_accuracy to select_estimate_accuracy
Andrew Morton [Tue, 28 Sep 2010 23:12:04 +0000 (01:12 +0200)]
select: rename estimate_accuracy to select_estimate_accuracy

Make it a subsystem-specific identifier because we wish to amke it
non-static in the next patch ("epoll: make epoll_wait() use the hrtimer
range feature").

Change-Id: Ie333f2051a3dc73dc8b0615b4fdccef63591c918
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14 years ago[ARM] tegra: Add new als lens coefficients to stingray board file
Rebecca Schultz Zavin [Thu, 7 Oct 2010 18:32:25 +0000 (11:32 -0700)]
[ARM] tegra: Add new als lens coefficients to stingray board file

Change-Id: I64bc2bcd77294481b5752b4b88fa68860a8e50e9
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years agomisc: max9635: add lens coefficient
makarand.karvekar [Wed, 6 Oct 2010 21:00:16 +0000 (16:00 -0500)]
misc: max9635: add lens coefficient

lens coefficient compensates for the lost light
filtered by glass lens covering als.
light thresholds maintained high for continuous reporting.
switch to EV_MSC event for 0 lux reporting.

Change-Id: Ia891e678c0d2d622d40cc4b9748ccae165ba2656
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
14 years agomedia: video: tegra: ov5650: Use discontinuous clocking for the 5MP sensor
Andrei Warkentin [Sat, 2 Oct 2010 01:27:16 +0000 (20:27 -0500)]
media: video: tegra: ov5650: Use discontinuous clocking for the 5MP sensor

The AP20 experiences issues with MIPI when using continuous clocking
with the 5650.  HW team is investigating.  This switches the 5650 to
discontinuous clocking, which has a side benefit of reducing current drain.

Change-Id: Ifb510d2bdafcf58f8846cf3b2711863f24f93680
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
14 years ago[ARM] tegra: stingray: SW5 must be enabled when CPCAP LEDs on
Greg Meiste [Wed, 29 Sep 2010 16:41:52 +0000 (11:41 -0500)]
[ARM] tegra: stingray: SW5 must be enabled when CPCAP LEDs on

Even though the LEDs are not connected to SW5 on Stingray, SW5 must
be enabled to enable logic within CPCAP.  This is required for the
CPCAP LEDs to work properly.

Change-Id: I45dcb708b82b27e05506351f445523d4f6907c9d
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years ago[ARM] tegra: nv: remove unused header -- it's stale anyway
Rebecca Schultz Zavin [Thu, 7 Oct 2010 18:03:24 +0000 (11:03 -0700)]
[ARM] tegra: nv: remove unused header -- it's stale anyway

Change-Id: Ia95b8a5ae34c338b681bd42335dc324a3014628b
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years ago[ARM]: tegra: tuning for touch-panel in stingray board file
makarand.karvekar [Fri, 24 Sep 2010 19:11:34 +0000 (14:11 -0500)]
[ARM]: tegra: tuning for touch-panel in stingray board file

FW settings for palm suppression and general tuning.
updated objects:
T7-POWER CONFIG
T9-Multitouch Object
cte_config_cfg
palm_suppression_cfg

Change-Id: If039f7f9f9a5af66e6eccbe061c1c856b9f01054
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
14 years ago[ARM] tegra: stingray: adjust vdd_cpu regulator voltage range
James Wylder [Thu, 9 Sep 2010 14:31:46 +0000 (09:31 -0500)]
[ARM] tegra: stingray: adjust vdd_cpu regulator voltage range

Because of changes in the regulator used, the the parts for
stingray have a real voltage range of 0.77 V to 1.40 V.  This
is contrary to what is specified in the current datasheets but
has been verified by the supplier.

Change-Id: I328e9570734c3523cc7ff791e14f7280b2982858
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years ago[ARM] tegra: stingray: Disable CONFIG_STACKTRACE in stingray defconfig
Rebecca Schultz Zavin [Thu, 7 Oct 2010 17:42:52 +0000 (10:42 -0700)]
[ARM] tegra: stingray: Disable CONFIG_STACKTRACE in stingray defconfig

/proc/<pid>/stack will BUG on an smp system unless the process
requesting the stack happens to be <pid>

Change-Id: I481a41c0b81f5eb17f7377b2db3691aa035a617d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years ago[ARM] tegra: stingray: add second i2s to support capture at various rates
Chris Fries [Thu, 7 Oct 2010 02:19:59 +0000 (21:19 -0500)]
[ARM] tegra: stingray: add second i2s to support capture at various rates

Add tegra_i2s_device2, to support CPCAP CODEC capture independent of STDAC.
This gives us independent control of the codec sampling rate.

Change-Id: Ib0f78667c15592b9bc11e100b8097bed27686523
Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] mfd: cpcap-audio: add Bluetooth bypass switch
Chris Fries [Thu, 7 Oct 2010 04:49:20 +0000 (23:49 -0500)]
[ARM] mfd: cpcap-audio: add Bluetooth bypass switch

Added a new IOCTL for controlling whether the digital audio is routed out of
the DAP2 (CPCAP CODEC) or DAP4 (Bluetooth SCO).

Change-Id: Ib48a5c1ce66992b653addd854e51e5d3dc69ee31
Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agommc: sdhci: Fix 4-bit wide support capability
Dmitry Shmidt [Thu, 7 Oct 2010 17:55:04 +0000 (10:55 -0700)]
mmc: sdhci: Fix 4-bit wide support capability

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years ago[ARM] mfd: cpcap-audio: Add support for dynamic CODEC and STDAC rates
Chris Fries [Fri, 1 Oct 2010 03:08:06 +0000 (22:08 -0500)]
[ARM] mfd: cpcap-audio: Add support for dynamic CODEC and STDAC rates

Add new IOCTLs for get/set rates.  This is in anticipation of VOIP
requirements.

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoRevert "[ARM] tegra: driver for spdif audio"
Iliyan Malchev [Thu, 7 Oct 2010 02:05:13 +0000 (19:05 -0700)]
Revert "[ARM] tegra: driver for spdif audio"

This reverts commit 3543d53703c5a1ed0b987c77e7a79226c3a24f45.

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra: i2s: Update pm_qos for 2.6.36
Colin Cross [Wed, 6 Oct 2010 04:59:08 +0000 (21:59 -0700)]
[ARM] tegra: i2s: Update pm_qos for 2.6.36

Change-Id: I205457db1432c672b026887defa8d498bc613412
Signed-off-by: Colin Cross <ccross@android.com>
14 years ago[ARM] tegra: correct device definition of second i2s controller
Chris Fries [Thu, 7 Oct 2010 01:44:47 +0000 (18:44 -0700)]
[ARM] tegra: correct device definition of second i2s controller

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Thu, 7 Oct 2010 00:52:13 +0000 (17:52 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

14 years ago[ARM] tegra: stingray: Update defconfig for 2.6.36
Colin Cross [Thu, 7 Oct 2010 00:51:02 +0000 (17:51 -0700)]
[ARM] tegra: stingray: Update defconfig for 2.6.36

Change-Id: Ie275bcf54e4ced1fc0e64ec46added39d4f9b98f
Signed-off-by: Colin Cross <ccross@android.com>