qca_spi: Adjust log of SPI_REG_RDBUF_BYTE_AVA
All known SPI registers of the QCA700x are 16 bit long. So adjust the formater width accordingly. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8f3655d8a5
commit
f486c4b576
@ -359,7 +359,7 @@ qcaspi_receive(struct qcaspi *qca)
|
||||
/* Read the packet size. */
|
||||
qcaspi_read_register(qca, SPI_REG_RDBUF_BYTE_AVA, &available);
|
||||
|
||||
netdev_dbg(net_dev, "qcaspi_receive: SPI_REG_RDBUF_BYTE_AVA: Value: %08x\n",
|
||||
netdev_dbg(net_dev, "qcaspi_receive: SPI_REG_RDBUF_BYTE_AVA: Value: %04x\n",
|
||||
available);
|
||||
|
||||
if (available > QCASPI_HW_BUF_LEN + QCASPI_HW_PKT_LEN) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user