[PATCH] AT91RM9200 Compact Flash driver
Andrew Victor
andrew at sanpeople.com
Wed Mar 1 10:29:59 EST 2006
hi Dominik,
> > + * Copyright (C) 2005 David Brownell
>
> Is this patch from David, or from you?
The driver was developed by David. I maintain the AT91RM9200 patches.
> > + (void) at91_set_A_periph(AT91_PIN_PC9, 0); /* A25/CFRNW */
> > + (void) at91_set_A_periph(AT91_PIN_PC10, 0); /* NCS4/CFCS */
> > + (void) at91_set_A_periph(AT91_PIN_PC11, 0); /* NCS5/CFCE1 */
> > + (void) at91_set_A_periph(AT91_PIN_PC12, 0); /* NCS6/CFCE2 */
>
> Why do you add "(void)" here before the function call?
The function can return -EINVAL or 0. It's really unlikely to happen,
so we just ignore the return value to keep the code simpler.
Regards,
Andrew Victor
More information about the linux-pcmcia
mailing list