From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Kandagatla Subject: [PATCH RFC 0/5] mmc: mmci: sdio related fixes Date: Tue, 12 Aug 2014 13:02:30 +0100 Message-ID: <1407844950-8072-1-git-send-email-srinivas.kandadgatla@linaro.org> Return-path: Received: from mail-pd0-f170.google.com ([209.85.192.170]:62471 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbaHLMD1 (ORCPT ); Tue, 12 Aug 2014 08:03:27 -0400 Received: by mail-pd0-f170.google.com with SMTP id g10so12583821pdj.1 for ; Tue, 12 Aug 2014 05:03:26 -0700 (PDT) Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: linux-mmc@vger.kernel.org Cc: Linus Walleij , Chris Ball , Ulf Hansson , Russell King , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla From: Srinivas Kandagatla This patchset fixes few sdio related issues encountered while testing WLAN ath6kl via SDIO on IFC6410 board with Qualcomm APQ8064 SOC. First patch "mmc: mmci: Enable SDIO support for Qualcomm variant data" enables sdio support for Qualcom SOCs. I can move this out of this series if it make sense to do. Patches "mmc: mmci: move block size validation under relevant code" and "mmc: mmci: relax blksz check for SDIO" relaxes error checks for blocksizes which are not exactly power of 2. The issue was ath6kl driver was issuing 12 bytes and 24 bytes reads which are caught as part of the error handing in the driver and resulting in failures. Patch "mmc: mmci: Add sdio enable mask in variant data" adds extra variant parameter to enable sdio. This makes mmci driver more flexible. Patch "mmc: mmci: move ST specific sdio setup under a condition" move ST specific sdio setup under a vendor id check condition so that other variants dont use it. Am happy to change this if there is any other better way. All these patches are tested on IFC6410 board with ath6kl WLAN via SDIO. Thanks, srini Srinivas Kandagatla (5): mmc: mmci: Enable SDIO support for Qualcomm variant data mmc: mmci: move block size validation under relevant code mmc: mmci: relax blksz check for SDIO mmc: mmci: Add sdio enable mask in variant data mmc: mmci: move ST specific sdio setup under a condition drivers/mmc/host/mmci.c | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) -- 1.9.1