diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2022-04-15 14:59:52 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-17 10:07:21 +0300 |
commit | 9a199694c6a1519522ec73a4571f68abe9f13d5d (patch) | |
tree | eead324cfc1311d9bc341e47aa2d8102c4e7042a /kernel/context_tracking.c | |
parent | bb25f071fc92d3d227178a45853347c7b3b45a6b (diff) | |
download | linux-9a199694c6a1519522ec73a4571f68abe9f13d5d.tar.xz |
media: i2c: imx412: Fix power_off ordering
The enable path does
- gpio
- clock
The disable path does
- gpio
- clock
Fix the order on the power-off path so that power-off and power-on have the
same ordering for clock and gpio.
Fixes: 9214e86c0cc1 ("media: i2c: Add imx412 camera sensor driver")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'kernel/context_tracking.c')
0 files changed, 0 insertions, 0 deletions