Re: [PATCH] gpio: dwapb: use dwapb_read instead of readl_relaxed

2017-04-24 Thread Linus Walleij
On Thu, Apr 13, 2017 at 11:46 AM, Jisheng Zhang wrote: > Commit 67809b974a07 ("GPIO: gpio-dwapb: Change readl&writel to > dwapb_read&dwapb_write") missed this readl_relaxed() usage, I'm not > sure the reason, maybe for performance reason? But if we do care > the performance, we could use the rela

[PATCH] gpio: dwapb: use dwapb_read instead of readl_relaxed

2017-04-13 Thread Jisheng Zhang
Commit 67809b974a07 ("GPIO: gpio-dwapb: Change readl&writel to dwapb_read&dwapb_write") missed this readl_relaxed() usage, I'm not sure the reason, maybe for performance reason? But if we do care the performance, we could use the relaxed io in dwapb_read and dwapb_write. Signed-off-by: Jisheng Zha