mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
firehose: Remove unnecessary nop request
The nop was added to mitigate the fact that there's a rather long delay in the response when sending out the first command. Increasing the write timeout removes this problem and it's possible to just send the configure as the first command without issues. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
@@ -593,15 +593,8 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage
|
||||
int bootable;
|
||||
int ret;
|
||||
|
||||
// while (firehose_read(qdl, 100, NULL) != -ETIMEDOUT)
|
||||
// ;
|
||||
|
||||
firehose_read(qdl, 5000, NULL);
|
||||
|
||||
ret = firehose_nop(qdl);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
if(ufs_need_provisioning()) {
|
||||
ret = firehose_configure(qdl, true, storage);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user