diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2020-06-05 18:17:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-26 10:29:55 +0200 |
commit | 87f1b49ee84f63f49bdba5e67e836d06117f59b5 (patch) | |
tree | 490b48660ae0e7cceb8d309a20fc975983d0eb64 /tools/spi/spidev_fdx.c | |
parent | 046f3765d4cc814f1166dfe1cebbaf8a55f09f42 (diff) |
media: budget-core: Improve exception handling in budget_register()
[ Upstream commit fc0456458df8b3421dba2a5508cd817fbc20ea71 ]
budget_register() has no error handling after its failure.
Add the missed undo functions for error handling to fix it.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/spi/spidev_fdx.c')
0 files changed, 0 insertions, 0 deletions