diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-08-30 08:40:55 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-30 22:49:50 -0700 |
commit | 4a4ce82212ef014d70f486a427005b2b5bab8e34 (patch) | |
tree | 3a0f5a0d627c199d2f6dbc66e3b509d2d8ea4eb1 /net | |
parent | fce1c23f629173e0db78b79a74f2052044a00e65 (diff) | |
download | linux-4a4ce82212ef014d70f486a427005b2b5bab8e34.tar.bz2 |
net: phy: micrel: Make the GPIO to be non-exclusive
The same GPIO line can be shared by multiple phys for the coma mode pin.
If that is the case then, all the other phys that share the same line
will failed to be probed because the access to the gpio line is not
non-exclusive.
Fix this by making access to the gpio line to be nonexclusive using flag
GPIOD_FLAGS_BIT_NONEXCLUSIVE. This allows all the other PHYs to be
probed.
Fixes: 738871b09250ee ("net: phy: micrel: add coma mode GPIO")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20220830064055.2340403-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions