Re: [PATCH v2] mmc: mtk-sd: check for valid optional memory resource

2019-04-11 Thread Ulf Hansson
On Wed, 3 Apr 2019 at 21:31, Fabien Parent wrote: > > 'top_base' memory region is optional. Check that the resource is valid > before using it. This avoid getting a "invalid resource" error message > printed by the kernel. > > Signed-off-by: Fabien Parent Applied for next, thanks! Kind regards

[PATCH v2] mmc: mtk-sd: check for valid optional memory resource

2019-04-03 Thread Fabien Parent
'top_base' memory region is optional. Check that the resource is valid before using it. This avoid getting a "invalid resource" error message printed by the kernel. Signed-off-by: Fabien Parent --- V2: Fix invalid condition: check against 'res' variable instead of 'ret'. ---