/* The card detect interrupt isn't debounced so we delay it by 250ms to give the card a chance to fully insert/eject.  */
static int poodle_mci_init(struct device *dev, irq_handler_t poodle_detect_int, void *data)
/* The card detect interrupt isn't debounced so we delay it by 250ms to give the card a chance to fully insert/eject.  */
static int poodle_mci_init(struct device *dev, irq_handler_t poodle_detect_int, void *data)
{
	int err;
	err = gpio_request(POODLE_GPIO_SD_PWR, "SD_PWR");
	if (err)
		goto err_free_2;
	err = gpio_request(POODLE_GPIO_SD_PWR1, "SD_PWR1");
	if (err)
		goto err_free_3;
	gpio_direction_output(POODLE_GPIO_SD_PWR, 0);
	gpio_direction_output(POODLE_GPIO_SD_PWR1, 0);
	return 0;
err_free_3:
	gpio_free(POODLE_GPIO_SD_PWR);
err_free_2:
	return err;
}