Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275977
b: refs/heads/master
c: afd00d7
h: refs/heads/master
i:
  275975: 7d7410e
v: v3
  • Loading branch information
Tim Blechmann authored and Takashi Iwai committed Nov 22, 2011
1 parent f6feade commit 8bf349b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6e8453e7511001e453f8b20b9ceefd231946867
refs/heads/master: afd00d7235c1989d06d75cf8ac3d7722fcf2f394
7 changes: 4 additions & 3 deletions trunk/sound/pci/lx6464es/lx_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ unsigned long lx_dsp_reg_read(struct lx6464es *chip, int port)
return ioread32(address);
}

void lx_dsp_reg_readbuf(struct lx6464es *chip, int port, u32 *data, u32 len)
static void lx_dsp_reg_readbuf(struct lx6464es *chip, int port, u32 *data,
u32 len)
{
void __iomem *address = lx_dsp_register(chip, port);
memcpy_fromio(data, address, len*sizeof(u32));
Expand All @@ -91,8 +92,8 @@ void lx_dsp_reg_write(struct lx6464es *chip, int port, unsigned data)
iowrite32(data, address);
}

void lx_dsp_reg_writebuf(struct lx6464es *chip, int port, const u32 *data,
u32 len)
static void lx_dsp_reg_writebuf(struct lx6464es *chip, int port,
const u32 *data, u32 len)
{
void __iomem *address = lx_dsp_register(chip, port);
memcpy_toio(address, data, len*sizeof(u32));
Expand Down
3 changes: 0 additions & 3 deletions trunk/sound/pci/lx6464es/lx_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ enum {
};

unsigned long lx_dsp_reg_read(struct lx6464es *chip, int port);
void lx_dsp_reg_readbuf(struct lx6464es *chip, int port, u32 *data, u32 len);
void lx_dsp_reg_write(struct lx6464es *chip, int port, unsigned data);
void lx_dsp_reg_writebuf(struct lx6464es *chip, int port, const u32 *data,
u32 len);

/* plx register access */
enum {
Expand Down

0 comments on commit 8bf349b

Please sign in to comment.