<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/16599">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">USBD_HAL: Don't disable UDP peripheral clock on suspend<br><br>Change-Id: I2169e2140762b37661f4567bb148326afd85cddc<br>Closes: OS#4329<br>---<br>M firmware/atmel_softpack_libraries/libchip_sam3s/source/USBD_HAL.c<br>1 file changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/99/16599/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/atmel_softpack_libraries/libchip_sam3s/source/USBD_HAL.c b/firmware/atmel_softpack_libraries/libchip_sam3s/source/USBD_HAL.c</span><br><span>index 3fe3270..0eccc65 100644</span><br><span>--- a/firmware/atmel_softpack_libraries/libchip_sam3s/source/USBD_HAL.c</span><br><span>+++ b/firmware/atmel_softpack_libraries/libchip_sam3s/source/USBD_HAL.c</span><br><span>@@ -1687,7 +1687,10 @@</span><br><span>     /* The device enters the Suspended state */</span><br><span>     UDP_DisableTransceiver();</span><br><span>     UDP_DisableUsbClock();</span><br><span style="color: hsl(0, 100%, 40%);">-    UDP_DisablePeripheralClock();</span><br><span style="color: hsl(120, 100%, 40%);">+    /* Don't disable peripheral clock; this somehow breaks completion of any IN transfers</span><br><span style="color: hsl(120, 100%, 40%);">+     * that have already been written to the peripheral, and which we expect to complete</span><br><span style="color: hsl(120, 100%, 40%);">+     * after resume */</span><br><span style="color: hsl(120, 100%, 40%);">+    //UDP_DisablePeripheralClock();</span><br><span> }</span><br><span> </span><br><span> /**</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/16599">change 16599</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/simtrace2/+/16599"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2169e2140762b37661f4567bb148326afd85cddc </div>
<div style="display:none"> Gerrit-Change-Number: 16599 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>