diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2016-09-20 00:41:14 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-21 20:03:04 +0300 |
| commit | 997695407512c3d0a7bf2f5e589ab288ac6d0f6b (patch) | |
| tree | e5501a8a2c843564a33cdc78bafbf2328d496d8f /include/linux/flex_array.h | |
| parent | 231d1a014aeb8c2288316572f2fe876c5145b91c (diff) | |
| download | linux-997695407512c3d0a7bf2f5e589ab288ac6d0f6b.tar.xz | |
[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>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
