mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
qcom_qup: compilation fixes
Fix compilation warning/errors - in this instance we do need the register IO. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36535
This commit is contained in:
parent
82302a49fd
commit
633d178c63
1 changed files with 2 additions and 2 deletions
|
|
@ -723,14 +723,14 @@ qcom_spi_hw_ack_write_pio_fifo(struct qcom_spi_softc *sc)
|
|||
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);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue