commit | b07b9521991cca961cc552213741afa7cf5906b5 | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Fri Jun 05 18:17:28 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 26 10:31:00 2020 +0200 |
tree | e02f08b1300715c22a5c35b9e39d13de6926c73f | |
parent | 7d057ec39676bcb5fbf8177dad5f781f86e7d316 [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>