Page MenuHomeFreeBSD

D36535.id110475.diff
No OneTemporary

D36535.id110475.diff

diff --git a/sys/dev/qcom_qup/qcom_spi_hw.c b/sys/dev/qcom_qup/qcom_spi_hw.c
--- a/sys/dev/qcom_qup/qcom_spi_hw.c
+++ b/sys/dev/qcom_qup/qcom_spi_hw.c
@@ -723,14 +723,14 @@
int
qcom_spi_hw_ack_opmode(struct qcom_spi_softc *sc)
{
- uint32_t reg;
QCOM_SPI_ASSERT_LOCKED(sc);
QCOM_SPI_BARRIER_READ(sc);
- reg = QCOM_SPI_READ_4(sc, QUP_OPERATIONAL);
+ QCOM_SPI_READ_4(sc, QUP_OPERATIONAL);
QCOM_SPI_WRITE_4(sc, QUP_OPERATIONAL, QUP_OP_OUT_SERVICE_FLAG);
QCOM_SPI_BARRIER_WRITE(sc);
+
return (0);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 7, 12:32 PM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17032184
Default Alt Text
D36535.id110475.diff (515 B)

Event Timeline