Page MenuHomeFreeBSD

D36535.id110496.diff
No OneTemporary

D36535.id110496.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
Wed, Sep 9, 6:08 AM (18 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38560168
Default Alt Text
D36535.id110496.diff (515 B)

Event Timeline