aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-10-15 10:59:15 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-24 18:48:56 -0300
commita0219deefe9ee5006a28d48522f76b217d198c51 (patch)
tree360fea14b0de5460333dc1ad78307cfde169fd17 /tools/perf/scripts/python
parentmedia: st-mipid02: add a check for devm_gpiod_get_optional (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 <hslester96@gmail.com> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions