summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/mantis/mantis_uart.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 17:06:34 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 17:06:34 +0200
commit9d605e6359f0808581b89350c643208586f41a06 (patch)
treed817ee2e9b8028d60a881f70afabed0f10c3b5b1 /drivers/media/pci/mantis/mantis_uart.c
parent[media] mantis: add remote control support (diff)
downloadlinux-9d605e6359f0808581b89350c643208586f41a06.tar.xz
linux-9d605e6359f0808581b89350c643208586f41a06.zip
[media] mantis: cleanup CodingStyle issues due to last commit
Commit a96762da0cfc('[media] mantis: add remote control support') introduced some new CodingStyle issues. Fix them. No functional changes. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/mantis/mantis_uart.c')
-rw-r--r--drivers/media/pci/mantis/mantis_uart.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/pci/mantis/mantis_uart.c b/drivers/media/pci/mantis/mantis_uart.c
index 483410948995..f1c96aec8c7b 100644
--- a/drivers/media/pci/mantis/mantis_uart.c
+++ b/drivers/media/pci/mantis/mantis_uart.c
@@ -70,6 +70,7 @@ static void mantis_uart_read(struct mantis_pci *mantis)
dprintk(MANTIS_DEBUG, 1, "UART Reading ...");
for (i = 0; i < (config->bytes + 1); i++) {
int data = mmread(MANTIS_UART_RXD);
+
dprintk(MANTIS_DEBUG, 0, " <%02x>", data);
scancode = (scancode << 8) | (data & 0x3f);
@@ -98,8 +99,8 @@ static void mantis_uart_work(struct work_struct *work)
dprintk(MANTIS_ERROR, 1, "RX Fifo FULL");
/*
- * MANTIS_UART_RXFIFO_DATA is only set if at least config->bytes + 1 bytes
- * are in the FIFO.
+ * MANTIS_UART_RXFIFO_DATA is only set if at least
+ * config->bytes + 1 bytes are in the FIFO.
*/
while (stat & MANTIS_UART_RXFIFO_DATA) {
mantis_uart_read(mantis);