diff options
| author | Johan Korsnes <johan.korsnes@gmail.com> | 2019-06-18 03:37:24 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-21 17:34:06 -0400 |
| commit | 4ee895e71abb51de61f8ea4b7cdba68e474ccf16 (patch) | |
| tree | edf06d63bbe29093b65004628e3cfdccfcb2145b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | media: vivid: add HDMI (dis)connect RX emulation (diff) | |
| download | linux-4ee895e71abb51de61f8ea4b7cdba68e474ccf16.tar.gz linux-4ee895e71abb51de61f8ea4b7cdba68e474ccf16.zip | |
media: vivid: reorder CEC allocation and control set-up
CEC adapters and controllers (handlers) are now set up as follows:
1. Allocate CEC adapters: setup of control handlers in next step
requires these adapters to be allocated.
2. Setup of control handlers: This must be done prior to registering
and exposing the adapters to user space to avoid a race condition.
3. Register CEC adapters: make them available to user space.
Signed-off-by: Johan Korsnes <johan.korsnes@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: PTR_ERR -> PTR_ERR_OR_ZERO]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
