commit | 997695407512c3d0a7bf2f5e589ab288ac6d0f6b | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Mon Sep 19 18:41:14 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Oct 21 15:03:04 2016 -0200 |
tree | e5501a8a2c843564a33cdc78bafbf2328d496d8f | |
parent | 231d1a014aeb8c2288316572f2fe876c5145b91c [diff] |
[media] smiapp: Fix resource management in registration failure If the registered() callback failed, resources were left unaccounted for. Fix this, as well as add unregistering the sub-devices in driver unregistered() callback. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>