mmc: matsushita-common: Handle bus width 0
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 29 Jan 2018 23:41:42 +0000 (00:41 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:11:58 +0000 (23:11 +0200)
commita7b7401c786871ec65572e1cd66703a0eb461060
tree8d72061349c6ff6232530bbd3e1c02f2f30336b9
parent635ae6fefa0945fa5361de6f460d3dde93b143f7
mmc: matsushita-common: Handle bus width 0

Handle bus width 0 as 1-bit bus to assure valid content of
MATSU_SD_OPTION register WIDTH field.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/matsushita-common.c