aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2022-06-24 17:18:45 +0300
committerPhilipp Zabel <[email protected]>2022-06-29 15:56:20 +0200
commita57f68ddc8865d59a19783080cc52fb4a11dc209 (patch)
tree741be22c8e8ab3d8d2db60a74e529f73e5a03f02 /lib/mpi/mpi-bit.c
parenta5bdaae7ae596686b83a8a5038ee6d9afeb24531 (diff)
reset: Fix devm bulk optional exclusive control getter
Most likely due to copy-paste mistake the device managed version of the denoted reset control getter has been implemented with invalid semantic, which can be immediately spotted by having "WARN_ON(shared && acquired)" warning in the system log as soon as the method is called. Anyway let's fix it by altering the boolean arguments passed to the __devm_reset_control_bulk_get() method from - shared = true, optional = false, acquired = true to + shared = false, optional = true, acquired = true That's what they were supposed to be in the first place (see the non-devm version of the same method: reset_control_bulk_get_optional_exclusive()). Fixes: 48d71395896d ("reset: Add reset_control_bulk API") Signed-off-by: Serge Semin <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Philipp Zabel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions