diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2018-07-26 22:40:58 +0000 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2018-08-01 17:41:31 -0700 |
commit | 66342d1c9c2460fe7d2d9c75f7e88f14d88318f2 (patch) | |
tree | 0a7dba1d3bf522da90654062bee924167516d6c0 /sound/soc/qcom | |
parent | 0378123c580091b4c2972a6e4fcb3dcb4686667a (diff) |
platform/mellanox: mlxreg-hotplug: Improve mechanism of ASIC health discovery
Simplify the logic of ASIC health discovery.
ASIC device can indicate its health state as a good, booting or dormant.
During ASIC reset the device is dropped to dormant state and should get to
the stable good health state through the intermediate booting state.
The sequence for getting to the steady state health after reset is:
(dormant -> booting -> good)+.
Initial implementation assumes that ?good? within this sequence is always
repeated twice and device is getting steady state only after the second
?good?. This patch removes this dependency, since the second ?good? is
received because of the noise on line and can be ignored. Device reaches
steady state after the first ?good? is received.
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'sound/soc/qcom')
0 files changed, 0 insertions, 0 deletions