[PATCH 12/17] ARM: pxa/raumfeld: add audio related functions

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Nov 25 12:07:26 EST 2009


On Wed, Nov 25, 2009 at 11:42:26AM +0100, Daniel Mack wrote:
> +	if (en) {
> +		gpio_set_value(mfp_to_gpio(GPIO_AUDIO_VA_ENABLE), 1);
> +		gpio_set_value(mfp_to_gpio(GPIO_MCLK_RESET), 1);
> +
> +		/* wait some time to let VA and the clocks become stable */
> +		schedule_timeout(HZ/10);

Again, msleep() preferred.



More information about the linux-arm-kernel mailing list