提交 20753569 编写于 作者: S Shawn Lin 提交者: Ulf Hansson

mmc: dw_mmc: minor cleanup for dw_mci_adjust_fifoth

msize and rx_wmark are properly initialized, we dont't
need to assign them again.
Signed-off-by: NShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 cc190d4c
......@@ -939,11 +939,8 @@ static void dw_mci_adjust_fifoth(struct dw_mci *host, struct mmc_data *data)
* MSIZE is '1',
* if blksz is not a multiple of the FIFO width
*/
if (blksz % fifo_width) {
msize = 0;
rx_wmark = 1;
if (blksz % fifo_width)
goto done;
}
do {
if (!((blksz_depth % mszs[idx]) ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册