Skip to content
Commit 7dbb837b authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

staging: mmal-vchiq: Fix client_component for 64 bit kernel



The MMAL client_component field is used with the event
mechanism to allow the client to identify the component for
which the event is generated.
The field is only 32bits in size, therefore we can't use a
pointer to the component in a 64 bit kernel.

Component handles are already held in an array per VCHI
instance, so use the array index as the client_component handle
to avoid having to create a new IDR for this purpose.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent 88a632a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment