2010/7/26 Hank Magnuski <[email protected]> > > In rtv-davinci.c there is this piece of code: > > static inline void davinci_rtcif_wait(struct davinci_rtc *davinci_rtc) > { > while (davinci_rtcif_read(davinci_rtc, DAVINCI_PRTCIF_CTLR) & > DAVINCI_PRTCIF_CTLR_BUSY) > cpu_relax(); > } > > > If there is any problem with the hardware configuration so that the rtc is > not receiving clocking, this wait loop will completely hang the kernel. > > Is it normal in the kernel to have wait loops with no exits? > > I would have expected some type of countdown loop with an unconditional > exit. > > Hank >
Hi Hank, in http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git I don't see this call. Where do you find it, please? Raffaele
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
