mmc: msm_sdcc: handle dma resource not present

If DMA resource is not available then SDCC driver
should atleast work in PIO data transfer mode.

Change-Id: Ibd21e62fd48fa13e3e94d0639c0933279f7ec4b4
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
msm_rotator: Add option to get chroma address

give user space an option to specify the chroma offset to
give more flexibility to user to specify different memory
addresses for luma and chroms

CRs-fixed: 274238
Change-Id: I6cc2b08850b9a0b2b769070882e4ee1eea17087e
Signed-off-by: Rajesh Sastrula <vrajesh@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
kgsl: cff-dump: address issue with base-addr = NULL

Use different strategies to fetch the physical address
for a kgsl memdesc as base-addr for CFF dumping.

Change-Id: I952b325e4ef7f3ba041760e640a8116fa8f260a5
Signed-off-by: Urs Muff <umuff@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
msm: Support secure io operations

Some register accesses need to be done securely. Implement a thin
API similar to readl/writel which requests the secure side to
read or write a register securely.

Change-Id: I7b2a8b2dd5a09b22620635db763c5dd42ad0acf1
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/Kconfig
msm: adding claim and release ownership on the SDIO bus before using it

Change-Id: I06880d805a45427ab67bd478c26abe5bffa2ecc3
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
msm_sdcc: Modify the max_blk_count value to prevent overflow.

CRs-Fixed: 275988
Change-Id: I0a1cdee060cdbd725e39615158eec5036d1e85d6
Signed-off-by: Murali Palnati <palnatim@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
Kbuild: export msm_adc.h

Change-Id: Id81e202e139ec489c3dc44f82720bb9fd772b68c
Signed-off-by: Christopher Johnson <cwjohnso@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
msm: cpufreq: Create cpufreq workqueue for freq changes

Setting frequencies may take unbounded amount of time, use private
workqueues instead of shared system workqueue.

Ondemand governor may post to the kernel workqueue, holds rwsem and
waits. This may cause msm_cpufreq_target to repost frequency change
request to the kernel workqueue waiting on the same rwsem resulting
in watchdog reset.

Change-Id: I34cf264e5f7f2f6aad2d2d2af3e4449233efd7d6
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
mmc: core: bypass bustest for MMC cards

Bustest for MMC cards is performed before changing
the data buswidth from 1-bit to 4-bit/8-bit width.
This is just a double check to ensure that 4-bit/8-bit
data lines are really present on the board and connected
between SD host controller and MMC card. Although it's
not necessary to perfom bustest if SD host controller
is capable of 4-bit/8-bit data width and same is
advertised using platform data.

Latest kernel version 2.6.38 have already made bustest
procedure optional. As there is issue with bustest
procedure on MSM8960, let's not perform bustest
for MMC card.

Change-Id: Ie4ad45af607ddd4ca2b9bed1c43f3e4242d0641d
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
msm_fb: display: fix a typo in using the correct packing format

Change-Id: I0f522ea04ece89c6f387d22634d4d33139f2a631
Signed-off-by: Rajesh Sastrula <vrajesh@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
msm: socinfo: Add check for missing socversion

Add a check for socinfo v4 which was missing

Change-Id: Iab2024f991fdb1c0b505d94194d2a2a0a8fd7f90
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>
msm: smd: disable debug and info log messages by default

Change-Id: Ib50a646cde6e160f47f79aa07b705df9a2bcefc1
CRs-Fixed: 275955
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Andika Edo <dhiika@phiexz.com>