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 /lib/test_objagg.c | |
parent | 8a99e9faa131b2cfedf9764c646b85ad6217f2e8 (diff) | |
download | linux-4ee895e71abb51de61f8ea4b7cdba68e474ccf16.tar.gz linux-4ee895e71abb51de61f8ea4b7cdba68e474ccf16.tar.bz2 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 'lib/test_objagg.c')
0 files changed, 0 insertions, 0 deletions