mmc: core: allow hosts to specify a large discard size

max_busy_timeout is used to decide whether R1B response should be used or a
R1 response should be used. This is also used to decide what the discard
size of mmc queue (registered with block layer) can be set to. In order to
keep both the features in place, this change will allow for hosts to
specify a larger discard size while still specifying max_busy_timeout.

Change-Id: I1e607329c4377897a7cb4086db02cbc150bd02b7
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
[xiaonian@codeaurora.org: fixed trivial merge conflict,
changed MMC_CAP2_MAX_DISCARD_SIZE definition to bit 31]
Signed-off-by: Xiaonian Wang <xiaonian@codeaurora.org>
2 files changed