Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304574
b: refs/heads/master
c: 6741f6c
h: refs/heads/master
v: v3
  • Loading branch information
Oleksij Rempel authored and Greg Kroah-Hartman committed May 9, 2012
1 parent 1472555 commit 2a7f693
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 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: 60c1530170008393901f03d018a2f89ad3022a0d
refs/heads/master: 6741f6c719f88e2cea8843f1934e308dd7939380
16 changes: 0 additions & 16 deletions trunk/drivers/staging/rts5139/rts51x_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,22 +815,6 @@ int enable_card_clock(struct rts51x_chip *chip, u8 card)
return STATUS_SUCCESS;
}

int disable_card_clock(struct rts51x_chip *chip, u8 card)
{
u8 clk_en = 0;

if (card & XD_CARD)
clk_en |= XD_CLK_EN;
if (card & SD_CARD)
clk_en |= SD_CLK_EN;
if (card & MS_CARD)
clk_en |= MS_CLK_EN;

RTS51X_WRITE_REG(chip, CARD_CLK_EN, clk_en, 0);

return STATUS_SUCCESS;
}

int card_power_on(struct rts51x_chip *chip, u8 card)
{
u8 mask, val1, val2;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/rts5139/rts51x_card.h
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,6 @@ void eject_card(struct rts51x_chip *chip, unsigned int lun);
void trans_dma_enable(enum dma_data_direction dir, struct rts51x_chip *chip,
u32 byte_cnt, u8 pack_size);
int enable_card_clock(struct rts51x_chip *chip, u8 card);
int disable_card_clock(struct rts51x_chip *chip, u8 card);
int card_power_on(struct rts51x_chip *chip, u8 card);
int card_power_off(struct rts51x_chip *chip, u8 card);
int toggle_gpio(struct rts51x_chip *chip, u8 gpio);
Expand Down

0 comments on commit 2a7f693

Please sign in to comment.