Re: [PATCH 1/3] drivers: base: add support for stmp-style devices

From: Wolfram Sang
Date: Thu Mar 08 2012 - 02:45:17 EST


On Wed, Mar 07, 2012 at 07:40:22PM -0300, Fabio Estevam wrote:
> On Wed, Mar 7, 2012 at 7:28 PM, Wolfram Sang <w.sang@xxxxxxxxxxxxxx> wrote:
> ...
> > +static int stmp_clear_poll_bit(void __iomem *addr, u32 mask)
> > +{
> > +       int timeout = 0x400;
>
> Could you please add a proper timeout mechanism here?
>
> Something like: http://patchwork.ozlabs.org/patch/137365/

From the patch description:

===

To avoid regressions and ease reviewing, the actual code is simply copied from
mach-mxs. It definately wants updates, but those need a seperate patch series.

===

Or is that considered a wrong path?

Thanks,

Wolfram

--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |

Attachment: signature.asc
Description: Digital signature