aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2021-10-19 05:39:52 +0200
committerMauro Carvalho Chehab <[email protected]>2021-11-30 12:06:27 +0100
commitd5e9bddb28057615fed653dcfa25f96896b1ff04 (patch)
tree92a77f5ceeb410b8a596560a969e5a6e6407722d /tools/perf/scripts/python/net_dropmonitor.py
parent0529c0f55da87a338a07f3394f55c4873a937be6 (diff)
media: driver: s3c_camif: move s3c_camif_unregister_subdev out of camif_unregister_media_entities
In the error handling of s3c_camif_probe, s3c_camif_unregister_subdev may be executed twice, one is from camif_unregister_media_entities. Although there is sanity check about the registration status, it is not good to call s3c_camif_unregister_subdev twice in the error handling code. Fix this by moving s3c_camif_unregister_subdev out of camif_unregister_media_entities, and add a s3c_camif_unregister_subdev in the s3c_camif_remove. Signed-off-by: Dongliang Mu <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions