omapdrm no need to die if no detect callback

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
ARM: mm: Flush only CPU local cache instead of all cache levels.

The ARMv7 processor setup functions clean and invalidates the
cpu cache before enabling MMU. The intention here is to start
with clean CPU local cache.

But on architectures like Cortex-[A15/A8], this code will end
up flushing the L2 cache as well which undesirable and incorrect.
The setup functions are used in CPU hotplug scenario's too and
hence flushing all cache levels should be avoided.

Fix this code by restricting the cache flush to local cpu
cache or L1.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
OMAP4: config: Add off mode config documentation

Signed-off-by: Roger Quadros <rogerq@ti.com>
OMAP4: config: Enable USB autosuspend/remotewakeup

This will ensure that USB Host and Gadget controllers are
disabled at runtime when not in use.

Signed-off-by: Roger Quadros <rogerq@ti.com>
OMAP4: off_config: Prevent Ducati & Tesla modules

These are blocking OFF mode support. Disable them in OFF config
till fixed.
UBUNTU: Add omap4plus_off_defconfig

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: OMAP4: rename Panda audio card

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
Revert "OMAP: HSMMC: Track regulator enabled locally"

This reverts commit a3df42492aa8c216e83ca9dd5f537c24de0089a8.
OMAP HSMMC Force enable attempt so that we can call disable

This reverts commit 4cc9ecff8ed1912ea679dc71b03a32045d88946a.
UBUNTU: Revert "ASoC: dapm: Remove SND_SOC_DAPM_MICBIAS_E()"

This reverts commit 5fc9aced13ae4bca67408816908be75684c1e7ba.
UBUNTU: Initial Debianization

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
KBuild: Allow scripts/* to be cross compiled

Cross compiling the binaries in scripts/* is not possible
because various makefiles assume that $(obj)/whatever is
executable on the build host.

This patch introduces a new variable called KBUILD_SCRIPTROOT
that points to script/binaries to use while cross compiling.

Usage:

Build scripts for the build host:
	make O=path/to/buildhost/buildscripts \
		silentoldconfig prepare scripts
Then cross build script for target:
	make O=path/to/target/buildscripts \
		HOSTCC=$CROSS_COMPILE \
		KBUILD_SCRIPTROOT=path/to/buildhost/buildscripts
		silentoldconfig prepare scripts

This patch does not use KBUILD_SCRIPTROOT for all script invocations
it only redefines the following if KBUILD_SCRIPTROOT is defined.

scripts/Makefile.build
	scripts/basic/fixdep --> $(KBUILD_SCRIPTROOT)/scripts/basic/fixdep

scripts/kconfig/Makefile
	$(obj)/conf --> $(KBUILD_SCRIPTROOT)/scripts/kconfig/conf

scripts/mod/Makefile
	$(obj)mk_elfconfig --> $(KBUILD_SCRIPTROOT)/scripts/mod/mk_elfconfig

Signed-off-by: John Rigby <john.rigby@linaro.org>
LINARO: Use KBUILD_SCRIPTROOT to cross build scripts

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: add omap_drv.h and omap_drm.h to linux-headers-<abi>-omap4

Add sym link for omap_drm.h and omap_drv.h in include/linux
Force delivery of the 2 files into drivers/staging/omapdrm

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: SAUCE: [arm] fixup __aeabi_uldivmod undefined build error

When building on arm we run into the following build error due to
gcc-4.6 optimizing do_div into a uldivmod call:

ERROR: "__aeabi_uldivmod" [drivers/scsi/megaraid/megaraid_sas.ko] undefined!

Inline some assembly to prevent the compiler optimization.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
UBUNTU: exclude crypto-modules and sata-modules from udeb

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Config update

* K3.4
* Enable RPMSG
* Enable VIRTIO
* Config update vs 3.3.0-1482.3

Signed-off-by: Xavier Boudet <x-boudet@ti.com>

Config updates

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: disable EETI touchscreen

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable EZX_PCAP

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable SENSORS_AK8975

Signed-off-by: Xavier Boudet <x-boudet@ti.com>