[alsa-devel] [PATCH] ad1848_lib: replace common delay loop by function
Takashi Iwai
tiwai at suse.de
Wed Sep 5 18:50:54 CEST 2007
At Wed, 5 Sep 2007 18:42:25 +0200,
Krzysztof Helt wrote:
>
> On Wed, 05 Sep 2007 15:02:53 +0200
> Takashi Iwai <tiwai at suse.de> wrote:
>
> > At Wed, 05 Sep 2007 00:41:25 +0200,
> > Rene Herman wrote:
> > >
> > > On 09/04/2007 11:53 PM, Krzysztof Helt wrote:
> > >
> > > > +static void snd_ad1848_ready(struct snd_ad1848 *chip)
> > >
> > > Same request for a name change -- "ready" sounds boolean to me...
> >
> > Agreed. Also, the error output of timeout can be better in
> > snd_ad1848_ready().
> >
>
> As to the error output. The moved error output want be able to
> display register and value to write (unless it will have parameters only for this).
> Also there is no error message in the snd_ad1848_dout().
I believe this must be just a laziness :)
But it's no big matter to argue. So, I don't mind at all whether you
move or keep the check code there.
Takashi
More information about the Alsa-devel
mailing list