summaryrefslogtreecommitdiff
path: root/lib/test_objagg.c
diff options
context:
space:
mode:
authorJohan Korsnes <johan.korsnes@gmail.com>2019-06-18 03:37:24 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-21 17:34:06 -0400
commit4ee895e71abb51de61f8ea4b7cdba68e474ccf16 (patch)
treeedf06d63bbe29093b65004628e3cfdccfcb2145b /lib/test_objagg.c
parent8a99e9faa131b2cfedf9764c646b85ad6217f2e8 (diff)
downloadlinux-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