diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2017-03-15 16:34:45 +0200 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:25:59 +0800 |
commit | 39cbb9d9ebc7afeaeac892adb0a0dd7c6117bfb6 (patch) | |
tree | 30db62d988cdd16e16d2aa0100cb7ef0441ee128 /arch/arm/boot/dts/imx6ul-evk-btwifi.dtsi | |
parent | 47899cec784c2b0a2711dac1709e41bd13ce8746 (diff) |
MLK-14454: video: mipi_dsi_northwest: Fix leaking a reset_control
The mipi_dsi_disp_init function takes a reference to a reset_control
during initialization and does not release it.
This becomes a problem on 4.9 because reset_control_get has been split
into exclusive mode(default) and shared(which need to be marked).
Leaking a reference counts looks like attempting to fetch a second
reference to a controller and this WARNs and returns -EBUSY.
Fix by releasing it at the end of the function.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-evk-btwifi.dtsi')
0 files changed, 0 insertions, 0 deletions