]> git.droids-corp.org - dpdk.git/commit
raw/cnxk_gpio: allow controlling existing GPIO
authorTomasz Duszynski <tduszynski@marvell.com>
Sat, 4 Jun 2022 14:03:23 +0000 (16:03 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Jun 2022 08:56:54 +0000 (10:56 +0200)
commit6b41a76f5fc1e31b10ddba2aa0c1b8ca668fbbc7
treeac15653c9327184fe721540505030612c6b363d9
parentf217dbff20603b51a51e226be77593ea06122ab5
raw/cnxk_gpio: allow controlling existing GPIO

Controlling existing GPIO should be normally frowned upon because
we want to avoid situation where multiple contenders modify GPIO
state simultaneously.

Still there might be situations where this is actually needed.
Restarting killed application being an example here.

So relax current restrictions and respect user needs.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
drivers/raw/cnxk_gpio/cnxk_gpio.c