Commit 88936fe8 authored by Wayne Porter's avatar Wayne Porter Committed by Greg Kroah-Hartman

staging: rts5208: rtsx_chip.c: Long lines

Fix lines that go over 80 characters to stop warnings from checkpatch
Signed-off-by: default avatarWayne Porter <wporter82@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7b468a29
...@@ -114,7 +114,8 @@ static int rtsx_pre_handle_sdio_old(struct rtsx_chip *chip) ...@@ -114,7 +114,8 @@ static int rtsx_pre_handle_sdio_old(struct rtsx_chip *chip)
if (chip->asic_code) { if (chip->asic_code) {
retval = rtsx_write_register(chip, CARD_PULL_CTL5, retval = rtsx_write_register(chip, CARD_PULL_CTL5,
0xFF, 0xFF,
MS_INS_PU | SD_WP_PU | SD_CD_PU | SD_CMD_PU); MS_INS_PU | SD_WP_PU |
SD_CD_PU | SD_CMD_PU);
if (retval) { if (retval) {
rtsx_trace(chip); rtsx_trace(chip);
return retval; return retval;
...@@ -240,10 +241,10 @@ static int rtsx_pre_handle_sdio_new(struct rtsx_chip *chip) ...@@ -240,10 +241,10 @@ static int rtsx_pre_handle_sdio_new(struct rtsx_chip *chip)
return STATUS_FAIL; return STATUS_FAIL;
} }
} else { } else {
retval = rtsx_write_register(chip, retval = rtsx_write_register
FPGA_PULL_CTL, (chip, FPGA_PULL_CTL,
FPGA_SD_PULL_CTL_BIT | 0x20, FPGA_SD_PULL_CTL_BIT | 0x20,
0); 0);
if (retval) { if (retval) {
rtsx_trace(chip); rtsx_trace(chip);
return retval; return retval;
...@@ -713,7 +714,8 @@ int rtsx_reset_chip(struct rtsx_chip *chip) ...@@ -713,7 +714,8 @@ int rtsx_reset_chip(struct rtsx_chip *chip)
if (chip->ft2_fast_mode) { if (chip->ft2_fast_mode) {
retval = rtsx_write_register(chip, CARD_PWR_CTL, 0xFF, retval = rtsx_write_register(chip, CARD_PWR_CTL, 0xFF,
MS_PARTIAL_POWER_ON | SD_PARTIAL_POWER_ON); MS_PARTIAL_POWER_ON |
SD_PARTIAL_POWER_ON);
if (retval) { if (retval) {
rtsx_trace(chip); rtsx_trace(chip);
return retval; return retval;
...@@ -1567,7 +1569,8 @@ int rtsx_write_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 mask, ...@@ -1567,7 +1569,8 @@ int rtsx_write_cfg_dw(struct rtsx_chip *chip, u8 func_no, u16 addr, u32 mask,
} }
retval = rtsx_write_register(chip, CFGRWCTL, 0xFF, retval = rtsx_write_register(chip, CFGRWCTL, 0xFF,
0x80 | mode | ((func_no & 0x03) << 4)); 0x80 | mode |
((func_no & 0x03) << 4));
if (retval) { if (retval) {
rtsx_trace(chip); rtsx_trace(chip);
return retval; return retval;
......
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