OSDN Git Service

OCC: FSI and hwmon: Add sequence numbering
authorEddie James <eajames@linux.ibm.com>
Tue, 2 Jul 2019 15:47:42 +0000 (10:47 -0500)
committerJoel Stanley <joel@jms.id.au>
Wed, 3 Jul 2019 01:11:22 +0000 (10:41 +0930)
commitafd26118f0dcf29db031a213f6f95c46ff3bdcbe
treec0bfe617ef7e18bff6fb23bd3cafc131691271df
parent60c87bc53178965aeb3dea798020e33900ab46f0
OCC: FSI and hwmon: Add sequence numbering

Sequence numbering of the commands submitted to the OCC is required by
the OCC interface specification. Add sequence numbering and check for
the correct sequence number on the response.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-occ.c
drivers/hwmon/occ/common.c
drivers/hwmon/occ/common.h