mmc: msm_sdcc: set max segments to max SPS decsriptors
eMMC4.5 specifcation defines the packed commands where
block I/O scheduler can club multiple read/write transfer
request in single packed transfer request before posting
it to block driver. Clubbing multiple transfer requests
in single packed transfer request may require block driver
to support more segments in scatter-gather list.
But as of now, msm sdcc driver is supporting maximum 128
segments in scatter-gather list which seems to be not enough
for effcient packed transfer request.
max segments supported by driver (in SPS DMA mode) are only
limited by the max number of descriptors that can be
queued in SPS Descriptor FIFO for a single transfer request.
So this change changes the max segments supported by driver
to max SPS descriptors.
Change-Id: If2f7d7eea59eb14b82a1a361f5216fee7ff8104e
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2 files changed