[PATCH 1/1] MTD: atmel_nand: use devm_xxx gpio kzalloc, gpio and ioremap
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Oct 15 09:24:15 EDT 2012
> > goto err_nand_ioremap;
> > }
> >+ host->io_phys = (dma_addr_t)mem->start;
> > mtd = &host->mtd;
> > nand_chip = &host->nand_chip;
> >@@ -1401,7 +1380,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
> > if (pdev->dev.of_node) {
> > res = atmel_of_init_port(host, pdev->dev.of_node);
> > if (res)
> >- goto err_ecc_ioremap;
> >+ goto err_nand_ioremap;
> > } else {
> > memcpy(&host->board, pdev->dev.platform_data,
> > sizeof(struct atmel_nand_data));
> >@@ -1420,44 +1399,42 @@ static int __init atmel_nand_probe(struct platform_device *pdev)
> > if (IS_ERR(pinctrl)) {
> > dev_err(host->dev, "Failed to request pinctrl\n");
> > res = PTR_ERR(pinctrl);
>
> I cannot apply the patch in latest l2-mtd git tree since above line
> of code doesn't committed.
> Seems that code is pinctrl related. Am I missing some patches?
this is base on linux next
and yes with pinctrl
Best Regards,
J.
More information about the linux-arm-kernel
mailing list