Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: pinmux: Don't free pins requested by other devices in pinmux…
…_disable_setting. One peripheral may share part of its pins with the 2nd peripheral and the other pins with the 3rd. If it requests all pins when part of them has already be requested and owned by the 2nd peripheral, this request fails and pinmux_disable_setting() is called. The pinmux_disable_setting() frees all pins of the first peripheral without checking if the pin is owned by itself or the 2nd, which results in the malfunction of the 2nd peripheral driver. Signed-off-by: Sonic Zhang <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information