OSDN Git Service

staging: bcm2835-camera: Convert client_context field to a 32 bit handle
authorMichael Zoran <mzoran@crowfest.net>
Fri, 10 Mar 2017 05:08:53 +0000 (21:08 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2017 09:12:09 +0000 (10:12 +0100)
commit7beb354f8560d8c3ce035af4013e035ac06196c2
tree91a66790e58a34be7ecbba5408f64026d475e88c
parentc45fe9c65742a75b6fada7a2153aa2f8bea0d6dd
staging: bcm2835-camera: Convert client_context field to a 32 bit handle

The client_context field is passed around which is really just a pointer
to a msg_context.  A lookup table mechanism for msg_context was added
previously, so convert this field to a handle as well.

The firmware never interperates the client_context, just passed it back.

Signed-off-by: Michael Zoran <mzoran@crowfest.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h
drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c