diff options
author | Michael Tretter <[email protected]> | 2020-07-13 16:42:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 14:00:31 +0200 |
commit | d8fefda89ee292b2871ce523227e5a49d4afc6ea (patch) | |
tree | 8519318e7e55f49446f8ddd923998ef1d4f0a1c0 /drivers/usb/cdns3/cdns3-debug.h | |
parent | c7ce107f9d899a15e4b9c24c4839abdbef88a063 (diff) |
media: allegro: drop length field from message header
The length of the message will be determined when the message is
encoded. Writing the size of the struct into the message in the driver
won't be the actual length of the message that is send to the firmware.
Therefore, drop the length field from the message.
Since the header is the same for all response messages, it does not make
sense to read the header in each decoding function, but we can simply
decode it once before dispatching to the respective functions.
Signed-off-by: Michael Tretter <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions