Re: [PATCH RFC 3/5] mmc: mmci: relax blksz check for SDIO

2014-08-13 Thread Linus Walleij
On Wed, Aug 13, 2014 at 7:14 AM, Srinivas Kandagatla wrote: > In the past Ulf Hansson and Stefan Nilsson have submitted a patch to fix > this issue for ux500v2. This patch adds new flag non_power_of_2_blksize / > any_blksize to variant_data. That's the right approach. It makes non-2^n support th

Re: [PATCH RFC 3/5] mmc: mmci: relax blksz check for SDIO

2014-08-12 Thread Srinivas Kandagatla
Thankyou for the feedback. On 12/08/14 15:12, Russell King - ARM Linux wrote: On Tue, Aug 12, 2014 at 01:04:40PM +0100, Srinivas Kandagatla wrote: From: Srinivas Kandagatla This patch adds condition in mmci_validate_data to skip checking blocksize for SDIO card types. SDIO card type can issue

Re: [PATCH RFC 3/5] mmc: mmci: relax blksz check for SDIO

2014-08-12 Thread Russell King - ARM Linux
On Tue, Aug 12, 2014 at 01:04:40PM +0100, Srinivas Kandagatla wrote: > From: Srinivas Kandagatla > > This patch adds condition in mmci_validate_data to skip checking > blocksize for SDIO card types. SDIO card type can issue blocksizes > which are not exactly power of 2 so this check always fails,

[PATCH RFC 3/5] mmc: mmci: relax blksz check for SDIO

2014-08-12 Thread Srinivas Kandagatla
From: Srinivas Kandagatla This patch adds condition in mmci_validate_data to skip checking blocksize for SDIO card types. SDIO card type can issue blocksizes which are not exactly power of 2 so this check always fails, resulting in SDIO failures. Relaxing this check for SDIO in mmci_validate_dat