diff options
| author | Andrew F. Davis <[email protected]> | 2017-06-13 18:45:13 -0500 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2017-06-26 13:02:44 -0700 |
| commit | 11d2a2ffa881c971bab065d6e38c33849f35e7bc (patch) | |
| tree | dc1ed878faff73e803b2139ad6d1156f867a5872 /net/switchdev/switchdev.c | |
| parent | e88bb8f7a12c1325e312c214f157109d56b06f76 (diff) | |
remoteproc/keystone: Ensure the DSPs are in reset in probe
The DSPs are expected to be in reset when the driver probes a device.
If the DSPs are out of reset in probe, the system may crash when the
firmware is being loaded. So, add a check to make sure the DSP resets
are asserted, and if not, throw a eye-catchy warning and assert the
resets specifically.
Signed-off-by: Andrew F. Davis <[email protected]>
[[email protected]: replace warning with a WARN]
Signed-off-by: Suman Anna <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions