aboutsummaryrefslogtreecommitdiff
path: root/drivers/fsi/fsi-occ.c
diff options
context:
space:
mode:
authorGravatar Eddie James <eajames@linux.ibm.com> 2021-07-21 14:02:30 -0500
committerGravatar Joel Stanley <joel@jms.id.au> 2021-10-15 15:09:26 +1030
commit908dbf0242e21dd95c69a1b0935814cd1abfc134 (patch)
treeecb3df0f59c763b15a5ab357b532237ec5303533 /drivers/fsi/fsi-occ.c
parentfsi: occ: Force sequence numbering per OCC (diff)
downloadlinux-908dbf0242e21dd95c69a1b0935814cd1abfc134.tar.gz
linux-908dbf0242e21dd95c69a1b0935814cd1abfc134.tar.bz2
linux-908dbf0242e21dd95c69a1b0935814cd1abfc134.zip
hwmon: (occ) Remove sequence numbering and checksum calculation
Checksumming of the request and sequence numbering is now done in the OCC interface driver in order to keep unique sequence numbers. So remove those in the hwmon driver. Also, add the command length to the send_cmd function pointer, since the checksum must be placed in the last two bytes of the command. The submit interface must receive the exact size of the command - previously it could be rounded to the nearest 8 bytes with no consequence. Signed-off-by: Eddie James <eajames@linux.ibm.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20210721190231.117185-3-eajames@linux.ibm.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/fsi/fsi-occ.c')
0 files changed, 0 insertions, 0 deletions