On Tuesday, April 03, 2012 7:47 AM, Rafal Prylowski wrote: <snip> > +int ep93xx_ide_acquire_gpio(struct platform_device *pdev) > +{ > + int err; > + int i; > + > + for (i = 2; i < 8; i++) { > + err = gpio_request(EP93XX_GPIO_LINE_E(i), dev_name(&pdev->dev)); > + if (err) > + goto fail_gpio_e; > + } > + for (i = 4; i < 8; i++) { > + err = gpio_request(EP93XX_GPIO_LINE_G(i), dev_name(&pdev->dev)); > + if (err) > + goto fail_gpio_g; > + } > + for (i = 0; i < 8; i++) { > + err = gpio_request(EP93XX_GPIO_LINE_H(i), dev_name(&pdev->dev)); > + if (err) > + goto fail_gpio_h; > + } EP93XX_GPIO_LINE_EGPIO2 and EP93XX_GPIO_LINE_EGPIO15 are also used by the IDE interface as the DMARQ and DASPn signals. They should be requested to make sure nobody uses them when the IDE driver is loaded. Regards, Hartley -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html