]> git.baikalelectronics.ru Git - uboot.git/commit
w1: w1-gpio: claim the gpio with correct initial flag
authorEugen Hristev <eugen.hristev@microchip.com>
Wed, 23 Jun 2021 13:11:58 +0000 (16:11 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 6 Jul 2021 12:17:10 +0000 (15:17 +0300)
commit98bc3083a013ecf3fdff169b936b7daec75ab808
tree8e77ebf46ec9803ea29273b17ed669dcbc292411
parent2e9420317d807f22d5e468530fb5b667ee533369
w1: w1-gpio: claim the gpio with correct initial flag

gpio_request_by_name should be called with proper flags.
The 0 value flag is invalid, and causes bad initialization of the gpio.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
drivers/w1/w1-gpio.c