diff options
author | Fabio Estevam <festevam@gmail.com> | 2019-05-04 10:40:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-28 14:19:52 -0400 |
commit | ddfb2982ecc4766932fb62868861d5913c5447e3 (patch) | |
tree | 1cbac7991c2f3921107d83cb95f56c443b23b213 /drivers/ide/ide-gd.h | |
parent | 964fcacddff4f0fd141a4c9d6fbd996e21cee6eb (diff) | |
download | linux-stable-ddfb2982ecc4766932fb62868861d5913c5447e3.tar.gz linux-stable-ddfb2982ecc4766932fb62868861d5913c5447e3.tar.bz2 linux-stable-ddfb2982ecc4766932fb62868861d5913c5447e3.zip |
media: imx7-media-csi: Check the return value from clk_prepare_enable()
clk_prepare_enable() may fail, so we should better check its return value
and propagate it in the case of error.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Rui Miguel Silva <rmfrfs@gmail.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+samsung@kernel.org>
Diffstat (limited to 'drivers/ide/ide-gd.h')
0 files changed, 0 insertions, 0 deletions