Re: [PATCH V2 2/5] spi: fspi: dynamically alloc AHB memory

From: Fabio Estevam
Date: Sun Feb 02 2020 - 11:40:03 EST


On Sun, Feb 2, 2020 at 10:00 AM Adam Ford <aford173@xxxxxxxxx> wrote:
>
> From: Han Xu <han.xu@xxxxxxx>
>
> Apply patch from NXP upstream repo to
> dynamically allocate AHB memory as needed.

The commit log could be improved here. What is the motivation for doing this?

> + if (!f->ahb_addr) {
> + dev_err(f->dev, "failed to alloc memory\n");

There is no need for this error message as the MM core will take care of it.