@Matt: yes, thats what I was suggesting before. @Magnus: that looks fine. -- Ian Molton Linux, Automotive, and other hacking: http://www.mnementh.co.uk/ On 26 August 2010 08:26, Magnus Damm <magnus.damm@xxxxxxxxx> wrote: > On Thu, Aug 26, 2010 at 4:24 PM, Matt Fleming <matt@xxxxxxxxxxxxxxxxx> wrote: >> On Thu, Aug 26, 2010 at 02:50:09AM +0100, Ian Molton wrote: >>> Probably dropped because I complained about two things, >>> >>> 1) The patch doesnt check what the hardware is underneath before >>> arbitrarily changing the parameters relied on by some hardware >> >> Has anyone thought about adding a caps or flags field to the >> tmio_mmc_host structure so that platform code set a bit if it can't do >> 2-byte data block transfers? > > Good idea! There is already a good place available: > > From include/linux/mfd/tmio.h: > ... > /* tmio MMC platform flags */ > #define TMIO_MMC_WRPROTECT_DISABLE (1 << 0) > > Cheers, > > / magnus > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html