mirror of https://gitee.com/openkylin/linux.git
Merge branch 'fixes' into next
This commit is contained in:
commit
82104edc59
|
@ -247,8 +247,9 @@ static void meson_mmc_get_transfer_mode(struct mmc_host *mmc,
|
|||
*/
|
||||
for_each_sg(data->sg, sg, data->sg_len, i) {
|
||||
if (sg->length % data->blksz) {
|
||||
WARN_ONCE(1, "unaligned sg len %u blksize %u\n",
|
||||
sg->length, data->blksz);
|
||||
dev_warn_once(mmc_dev(mmc),
|
||||
"unaligned sg len %u blksize %u, disabling descriptor DMA for transfer\n",
|
||||
sg->length, data->blksz);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue