diff options
| author | Chuhong Yuan <[email protected]> | 2019-10-15 10:59:15 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-10-24 18:48:56 -0300 |
| commit | a0219deefe9ee5006a28d48522f76b217d198c51 (patch) | |
| tree | 360fea14b0de5460333dc1ad78307cfde169fd17 /tools/perf/scripts/python/bin/syscall-counts-record | |
| parent | 61c03b631b74a38ab53753f3ee971a55886d4843 (diff) | |
media: imx7-mipi-csis: Add a check for devm_regulator_get
devm_regulator_get may return an error but mipi_csis_phy_init misses
a check for it.
This may lead to problems when regulator_set_voltage uses the unchecked
pointer.
This patch adds a check for devm_regulator_get to avoid potential risk.
Signed-off-by: Chuhong Yuan <[email protected]>
Reviewed-by: Rui Miguel Silva <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions