On Sun, Jun 9, 2013 at 4:49 PM, Akinobu Mita <mita@xxxxxxxxxxxx> wrote: > Changing the device coherent dma mask to the value that currently set > has no effect. > > Signed-off-by: Akinobu Mita <mita@xxxxxxxxxxxx> > Cc: Vinayak Holikatti <vinholikatti@xxxxxxxxx> > Cc: Santosh Y <santoshsy@xxxxxxxxx> > Cc: "James E.J. Bottomley" <JBottomley@xxxxxxxxxxxxx> > Cc: linux-scsi@xxxxxxxxxxxxxxx > --- > drivers/scsi/ufs/ufshcd-pltfrm.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c > index 0014e28..969c9bc 100644 > --- a/drivers/scsi/ufs/ufshcd-pltfrm.c > +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c > @@ -100,7 +100,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev) > struct resource *irq_res; > resource_size_t mem_size; > int err; > - struct device *dev = &pdev->dev; > > mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > if (!mem_res) { > @@ -132,12 +131,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev) > goto out_iounmap; > } > > - err = dma_set_coherent_mask(dev, dev->coherent_dma_mask); > - if (err) { > - dev_err(&pdev->dev, "set dma mask failed\n"); > - goto out_iounmap; > - } > - > err = ufshcd_init(&pdev->dev, &hba, mmio_base, irq_res->start); > if (err) { > dev_err(&pdev->dev, "Intialization failed\n"); > -- > 1.8.1.4 > Acked-by: Santosh Y <santoshsy@xxxxxxxxx> -- ~Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html