[PATCH 4/4] usb-nop-xceiv: Add support for 'reset-gpios' binding

Nikita Yushchenko nikita.yoush at cogentembedded.com
Mon May 22 23:55:51 PDT 2017


> +
> +	if (gpio_is_valid(nopphy->reset)) {
> +		/*
> +		 * Let's wait for 100 ms before deasserting reset line
> +		 */
> +		mdelay(100);
> +		gpio_direction_output(nopphy->reset, 0);
> +	}

Why not gpio_set_value() here?  Direction is already configured at this
stage.

Nikita



More information about the barebox mailing list