summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-12-12 23:10:33 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-17 12:26:14 +0100
commit426ba13f41e59151dce5d20dca1d4279192b60dc (patch)
treed4cf21589fa3c4d2cef35a9c0304b5be013e257e /Documentation
parentac6bbe6ab32309218d1806572e0f1f331f9a8dcd (diff)
downloadbarebox-426ba13f41e59151dce5d20dca1d4279192b60dc.tar.gz
barebox-426ba13f41e59151dce5d20dca1d4279192b60dc.tar.xz
video: mtl017: Make sure errno is not used as a regulator pointer
Since regulator_get() can return an errno via regulator pointer, we need to make sure we handle that case without passing bogus pointers around. Add code to convert mtl017->regulator to a dummy regulator if regulator_get() fails. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions