Page MenuHomeFreeBSD

D36535.diff
No OneTemporary

D36535.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, Apr 22, 2:59 AM (10 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31869339
Default Alt Text
D36535.diff (515 B)

Event Timeline