Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9fc630a authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

soc: swr-mstr: Resolve compilation error during overflow irq



Fifo status is not printed during overflow|underflow irq.
Print status in hex format to resolve compilation error.

Change-Id: Ia9ececc58ec58b00c1bbd7b097abce1393d155ab
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent cbbff680
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1931,19 +1931,19 @@ static irqreturn_t swr_mstr_interrupt(int irq, void *dev)
		case SWRM_INTERRUPT_STATUS_RD_FIFO_OVERFLOW:
			value = swr_master_read(swrm, SWRM_CMD_FIFO_STATUS);
			dev_err(swrm->dev,
				"%s: SWR read FIFO overflow fifo status\n",
				"%s: SWR read FIFO overflow fifo status %x\n",
				__func__, value);
			break;
		case SWRM_INTERRUPT_STATUS_RD_FIFO_UNDERFLOW:
			value = swr_master_read(swrm, SWRM_CMD_FIFO_STATUS);
			dev_err(swrm->dev,
				"%s: SWR read FIFO underflow fifo status\n",
				"%s: SWR read FIFO underflow fifo status %x\n",
				__func__, value);
			break;
		case SWRM_INTERRUPT_STATUS_WR_CMD_FIFO_OVERFLOW:
			value = swr_master_read(swrm, SWRM_CMD_FIFO_STATUS);
			dev_err(swrm->dev,
				"%s: SWR write FIFO overflow fifo status\n",
				"%s: SWR write FIFO overflow fifo status %x\n",
				__func__, value);
			swr_master_write(swrm, SWRM_CMD_FIFO_CMD, 0x1);
			break;