This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA744: 关于SDIO DMA异常

Part Number: DRA744

insmod bcmdhd驱动后,在wifi发送扫描或者其它指令时,sdio驱动DMA报异常:omap_hsmmc 480d1000.mmc: MMC start dma failure

在此处代码触发异常:

static int omap_hsmmc_setup_dma_transfer(struct omap_hsmmc_host *host, struct mmc_request *req){

......

......

/* Sanity check: all the SG entries must be aligned by block size. */
 for (i = 0; i < data->sg_len; i++) {
  struct scatterlist *sgl;

  sgl = data->sg + i;
  if (sgl->length % data->blksz)
            return -EINVAL;

 }

........

}

请问是什么原因导致这种异常发生?