From mboxrd@z Thu Jan 1 00:00:00 1970 From: marek.vasut@gmail.com (Marek Vasut) Date: Mon, 22 Aug 2011 13:20:55 +0200 Subject: [PATCH v9 2/3] MTD : add helper functions library and header files for GPMI NAND driver In-Reply-To: <4E51E33C.8090800@freescale.com> References: <1313581828-16625-1-git-send-email-b32955@freescale.com> <201108201346.21647.marek.vasut@gmail.com> <4E51E33C.8090800@freescale.com> Message-ID: <201108221320.55929.marek.vasut@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Monday, August 22, 2011 07:03:56 AM Huang Shijie wrote: > Hi, > > > On Wednesday, August 17, 2011 01:50:27 PM Huang Shijie wrote: > >> bch-regs.h : registers file for BCH module > >> gpmi-regs.h: registers file for GPMI module > >> gpmi-lib.c: helper functions library. > >> > >> Signed-off-by: Huang Shijie > >> --- [...] > >> +err_out: > >> + return ret; > >> +} > >> + > >> +/* This is very useful! */ > > > > Really? Cool, what for ? > > btw. this should really be enclosed in some #ifdef debug or whatnot. > > Yes, it shows the register contents when DMA timeout occurs. > this routine is called only when error occurs. > Hi, I'd expect exactly this explanation to be in the comment ;-) Cheers