[PATCH 1/2] ARM: Tegra: Harmony: Register and configure WM8903 IRQ GPIO

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jul 14 08:25:20 EDT 2011


On Wed, Jul 13, 2011 at 02:40:17PM -0600, Stephen Warren wrote:

> +	gpio_request(TEGRA_GPIO_CDC_IRQ, "wm8903");
> +	gpio_direction_input(TEGRA_GPIO_CDC_IRQ);
> +
>  	i2c_register_board_info(0, &wm8903_board_info, 1);

This seems silly - we should fix this in the core code rather than have
every single board that ahppens to use an interrupt which is also
available as a GPIO manually faff around with gpiolib.



More information about the linux-arm-kernel mailing list