diff options
| author | 2021-02-15 05:27:29 +0100 | |
|---|---|---|
| committer | 2021-03-11 11:59:52 +0100 | |
| commit | 6e1de0062768ffaf780fd4a07f98723174653052 (patch) | |
| tree | cc79760f48860b8b542586fdb8986f2c20eed96a /include/uapi/linux/kernel.h | |
| parent | media: imx: imx7_mipi_csis: Make source .s_power() optional (diff) | |
media: imx: imx7_mipi_csis: Avoid double get of wrap clock
The wrap clock is retrieved with the other clocks using
devm_clk_bulk_get(), and retrieved independently with a specific
devm_clk_get() call. The latter isn't needed, replace it with usage of
the wrap clock from the bulk array.
As the wrap clock is mandatory, simplify its usage further by removing
conditionals.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
