Re: [PATCH v1 2/2] mmc: cavium: Remove redundant if-statement checkup

2021-03-19 Thread Bean Huo
On Fri, 2021-03-19 at 15:09 +0100, Ulf Hansson wrote: > On Fri, 19 Mar 2021 at 13:14, Bean Huo wrote: > > > From: Bean Huo > > Currently, we have two ways to issue multiple-block read/write the > > command to the eMMC. One is by normal IO request path fs->block- > > >mmc. > > Another one is that

Re: [PATCH v1 2/2] mmc: cavium: Remove redundant if-statement checkup

2021-03-19 Thread Ulf Hansson
On Fri, 19 Mar 2021 at 13:14, Bean Huo wrote: > > From: Bean Huo > > Currently, we have two ways to issue multiple-block read/write the > command to the eMMC. One is by normal IO request path fs->block->mmc. > Another one is that we can issue multiple-block read/write through > MMC ioctl interfac

[PATCH v1 2/2] mmc: cavium: Remove redundant if-statement checkup

2021-03-19 Thread Bean Huo
From: Bean Huo Currently, we have two ways to issue multiple-block read/write the command to the eMMC. One is by normal IO request path fs->block->mmc. Another one is that we can issue multiple-block read/write through MMC ioctl interface. For the first path, mrq->stop, and mrq->stop->opcode will