Re: [PATCH] mtd: nand: diskonchip: Replace mdelay with usleep_range in doc_probe

2018-04-22 Thread Boris Brezillon
On Wed, 11 Apr 2018 10:57:57 +0800 Jia-Ju Bai wrote: > doc_probe() is never called in atomic context. > > doc_probe() is only called by init_nanddoc(), which is only set as > a parameter of module_init(). > This function is not called in atomic context. > > Despite

Re: [PATCH] mtd: nand: diskonchip: Replace mdelay with usleep_range in doc_probe

2018-04-22 Thread Boris Brezillon
On Wed, 11 Apr 2018 10:57:57 +0800 Jia-Ju Bai wrote: > doc_probe() is never called in atomic context. > > doc_probe() is only called by init_nanddoc(), which is only set as > a parameter of module_init(). > This function is not called in atomic context. > > Despite never getting called from

[PATCH] mtd: nand: diskonchip: Replace mdelay with usleep_range in doc_probe

2018-04-10 Thread Jia-Ju Bai
doc_probe() is never called in atomic context. doc_probe() is only called by init_nanddoc(), which is only set as a parameter of module_init(). This function is not called in atomic context. Despite never getting called from atomic context, doc_probe() calls mdelay() to busily wait. This is not

[PATCH] mtd: nand: diskonchip: Replace mdelay with usleep_range in doc_probe

2018-04-10 Thread Jia-Ju Bai
doc_probe() is never called in atomic context. doc_probe() is only called by init_nanddoc(), which is only set as a parameter of module_init(). This function is not called in atomic context. Despite never getting called from atomic context, doc_probe() calls mdelay() to busily wait. This is not