mmc: msm_sdcc: Prevent NULL pointer dereference in IRQ

Ensure card object is accessed only when it is not NULL. Use
AND in place of OR operator, and correctly check for presence
of SDIO card.

Signed-off-by: Oluwafemi Adeyemi <aadeyemi@codeaurora.org>
(cherry picked from commit 3975e5d64c6daec3d73864bf861061f45b9a14d5)

Change-Id: I2e893b061dc3958c2e8f3bc8205a0d5010648a2a
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
mmc: msm_sdcc: don't return error if regulator info is not available

On some platforms, few SDCC slots may be powered by always-on regulators
on board and in this case, regulator info for such SDCC slot is not
defined as part of their platform data. So let's not return error from
driver if regulator info is not present for a SDCC slot.

Change-Id: If2e7fc2ef7bf302a07ddf940996a652f6f5cb199
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Revert "mmc: core: Fix some driver hangs when dealing with broken devices"

This reverts commit b4046456a04c2e621decff40249b75b856c31285.

Conflicts:
	drivers/mmc/card/block.c
	drivers/mmc/core/core.c

Change-Id: Ie3eb18a62e16405e183dbe180fb1841c6c567903
Revert "mmc: msm_sdcc: perform DLL retuning if clock rate is changed"

This reverts commit c01b5b54f464a2516d95117f677c674608a55baf.

Change-Id: I0a120febdc52f4f75cc0e7b710bdc90435239ba0
Revert "mmc: msm_sdcc: data timeout errors are expected during HS200 tuning"

This reverts commit bcf46c7b612c15410f76173b5d6af0d26789cb01.

Change-Id: Iaaf4d0608d5095a0d0a093fbc159d3b952b929f1
Revert "mmc: sdio: fix sdio_reset_comm() to take care of UHS card reset"

This reverts commit f57db62cde2dd4cd7a17ec2f39834f186100a9de.

Change-Id: I9db691095f3f1be0f58b7df70feeb6487e77cb04
Revert "mmc: sdio: print correct UHS mode during card detection"

This reverts commit e5f2fd2ad7495ba25d77333f9a8a111546b24725.

Change-Id: Ib62d5ced35d26f99d473fcbb6030e6ae6d0a8b35
Revert "mmc: msm_sdcc: check for pending_resume in SDCC system suspend"

This reverts commit f66ecfb00434763346c78e00ca19f02865c7deaa.

Change-Id: Ia9f690795abfb9f18fcff493895442856a55e218
Revert "mmc: msm_sdcc: fix data timeout calculation for DDR bus speed mode"

This reverts commit 39eaee3be1e619967ddd301f16c770fe1f5dfcb1.

Change-Id: I774d17659bf85d61f65596280e351946b269b732
Revert "mmc: msm_sdcc: fix the clock selection logic in DDR mode"

This reverts commit 3838abe0ef519671cabc2ce39295e0f3d3232a3b.

Change-Id: I3febe54e3d539d54a3030c97c22226bcf8c51132
Revert "mmc: card: abort the suspend if the card is busy"

This reverts commit deb7e2c57782934db6a32af94dff7b88c42d0f21.

Change-Id: I1c9622a57dd8779d25ad3f8d7d45ba3538e341f0
mmc: core: printout to notify the bkops_enable feature on the device

this printout let us know whether the bkops capability was enabled
on the device

Change-Id: If17c27e180fc573052ea789ce1ba70971d7be8be
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Revert "import ath6kl subsystem from GT-S6310_Opensource"

This reverts commit 68d4bde191f95b085374ece0dc0f0ddf1da33dd3.

Conflicts:

	drivers/net/wireless/ath/ath6kl/softmac.c

Change-Id: I0611c75c0e2810ce30bab2c8fedb3d9391c1f9af
Import ath6kl from caf/kitkat branch

Change-Id: I5edd44cb14654ed2397102510950860cc089b3ca