From: Kuninori Morimoto Date: Wed, 3 Sep 2014 02:08:53 +0000 (-0700) Subject: mmc: Add .multi_io_quirk callback for multi I/O HW bug X-Git-Tag: fixes-against-v3.18-rc2~127^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e47e84245adcb1b3872210678b6146f674fb3ff;p=pandora-kernel.git mmc: Add .multi_io_quirk callback for multi I/O HW bug Historically, we have been using MMC_CAP* to handle host HW issues and currently the block layer uses MMC_CAP2_NO_MULTI_READ flag for a multi I/O HW bug workaround. There are a few tweaks needed to make MMC_CAP2_NO_MULTI_READ suite all situations. Therefore let's add an optional host ops callback to enable host drivers to return the number of blocks it allows per request. In a future patch and when host drivers have converted to the new callback, MMC_CAP2_NO_MULTI_READ shall be removed. Signed-off-by: Kuninori Morimoto Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed