Messages in this thread | | | From | Andy Shevchenko <> | Date | Sat, 25 Dec 2021 18:43:22 +0200 | Subject | Re: [PATCH v5 3/3] mmc: Add driver for LiteX's LiteSDCard interface |
| |
On Wed, Dec 15, 2021 at 10:00 PM Gabriel Somlo <gsomlo@gmail.com> wrote: > > LiteX (https://github.com/enjoy-digital/litex) is a SoC framework > that targets FPGAs. LiteSDCard is a small footprint, configurable > SDCard core commonly used in LiteX designs. > > The driver was first written in May 2020 and has been maintained > cooperatively by the LiteX community. Thanks to all contributors!
...
> + int ret; > + > + host->irq = platform_get_irq_optional(host->dev, 0); > + if (host->irq <= 0) { > + dev_warn(dev, "Failed to get IRQ, using polling\n"); > + goto use_polling; > + }
Same comment as per v3.
...
> +#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
Why under ifdeffery?
> + /* increase from default 32 on 64-bit-DMA capable architectures */ > + ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); > + if (ret) > + goto err; > +#endif
-- With Best Regards, Andy Shevchenko
| |