Commit 79ae92c4 authored by Eli Billauer's avatar Eli Billauer Committed by Greg Kroah-Hartman

staging: xillybus: Trivial coding style fixes

Suggested-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarEli Billauer <eli.billauer@gmail.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d3274f20
...@@ -407,8 +407,7 @@ static int xilly_get_dma_buffers(struct xilly_endpoint *ep, ...@@ -407,8 +407,7 @@ static int xilly_get_dma_buffers(struct xilly_endpoint *ep,
static int xilly_setupchannels(struct xilly_endpoint *ep, static int xilly_setupchannels(struct xilly_endpoint *ep,
unsigned char *chandesc, unsigned char *chandesc,
int entries int entries)
)
{ {
struct device *dev = ep->dev; struct device *dev = ep->dev;
int i, entry, rc; int i, entry, rc;
...@@ -784,8 +783,8 @@ static ssize_t xillybus_read(struct file *filp, char __user *userbuf, ...@@ -784,8 +783,8 @@ static ssize_t xillybus_read(struct file *filp, char __user *userbuf,
* the channel-specific mutex. * the channel-specific mutex.
*/ */
iowrite32(1 | (channel->chan_num << 1) iowrite32(1 | (channel->chan_num << 1) |
| (bufidx << 12), (bufidx << 12),
channel->endpoint->registers + channel->endpoint->registers +
fpga_buf_ctrl_reg); fpga_buf_ctrl_reg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment