Searched hist:"97 f05aad" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/cec/platform/seco/ |
H A D | seco-cec.c | 97f05aad Sat Mar 12 09:48:45 CST 2022 Tom Rix <trix@redhat.com> media: cec: seco: remove byte handling from smb_word_op
smb_word_op() has a parameter data_format that determines if the data is either a byte or word. From inspection, smb_word_op() is only used by the macros smb_wr16() and smb_rd16() both pass in CMD_WORD_DATA. There is no use of smb_word_op() that passes in CMD_BYTE_DATA. So remove the byte handling.
Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|