accel/qaic: Increase number of in_reset states
authorCarl Vanderlip <quic_carlv@quicinc.com>
Fri, 17 Nov 2023 17:43:36 +0000 (10:43 -0700)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 1 Dec 2023 17:35:32 +0000 (10:35 -0700)
commit44df9a2a13211955ae98f8650e4dc04065e8ec0b
tree7b216de414ebd4be9176cdbc76bf8f0129eef93e
parentff3670877e7c73d06c2a835d9abb62efcae0145c
accel/qaic: Increase number of in_reset states

'in_reset' holds the state of the device. As part of bringup, the device
needs to be queried to check if it's in a valid state. Add a new state
that indicates that the device is coming up, but not ready for users
yet. Rename to 'dev_state' to better describe the variable.

Signed-off-by: Carl Vanderlip <quic_carlv@quicinc.com>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231117174337.20174-2-quic_jhugo@quicinc.com
drivers/accel/qaic/qaic.h
drivers/accel/qaic/qaic_control.c
drivers/accel/qaic/qaic_data.c
drivers/accel/qaic/qaic_drv.c