Re: [PATCH v2 3/3] remoteproc/keystone: Ensure the DSPs are in reset in probe

From: Santosh Shilimkar
Date: Sat Jun 10 2017 - 15:32:45 EST


On 6/7/2017 5:24 PM, Suman Anna wrote:
From: "Andrew F. Davis" <afd@xxxxxx>

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 <afd@xxxxxx>
[s-anna@xxxxxx: replace warning with a WARN]
Signed-off-by: Suman Anna <s-anna@xxxxxx>
---
Acked-by: Santosh Shilimkar <ssantosh@xxxxxxxxxx>