2 Feb
2011
2 Feb
'11
11:51 a.m.
On Wed, Feb 02, 2011 at 02:40:53AM +0300, Alexander Sverdlin wrote:
- err = gpio_request(gpio_nreset, spi->modalias);
- if (err)
return err;
- err = gpio_request(EP93XX_GPIO_LINE_EGPIO6, spi->modalias);
- if (err)
return err;
- gpio_direction_output(EP93XX_GPIO_LINE_EGPIO6, 1);
Why is this stuff in the arch/arm code? I'd expect driver to deal with all this sequencing.