mmc: tmio, renesas-sdhi: add max_{segs, blk_count} to tmio_mmc_data
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 21 Jun 2017 14:00:27 +0000 (16:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:21 +0000 (14:01 +0200)
commit603aa14d3daaa7073bab4c472025c4963030e0cc
treee4017147ab30285dd2cd3526ec8e6cd678ec986f
parent6bba406445e6be29a736304f7dd2773665ef6d34
mmc: tmio, renesas-sdhi: add max_{segs, blk_count} to tmio_mmc_data

Allow TMIO and SDHI driver implementations to provide values for
max_segs and max_blk_count.

A follow-up patch will set these values for Renesas Gen3 SoCs
the using an SDHI driver.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Ai Kyuse <ai.kyuse.uw@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi.h
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/tmio_mmc_core.c
include/linux/mfd/tmio.h