aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/memstick/host/jmb38x_ms.c2
-rw-r--r--drivers/memstick/host/tifm_ms.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/memstick/host/jmb38x_ms.c b/drivers/memstick/host/jmb38x_ms.c
index bcdca9fbef51..49c71f55489f 100644
--- a/drivers/memstick/host/jmb38x_ms.c
+++ b/drivers/memstick/host/jmb38x_ms.c
@@ -259,9 +259,11 @@ static unsigned int jmb38x_ms_write_data(struct jmb38x_ms_host *host,
259 case 3: 259 case 3:
260 host->io_word[0] |= buf[off + 2] << 16; 260 host->io_word[0] |= buf[off + 2] << 16;
261 host->io_pos++; 261 host->io_pos++;
262 /* fall through */
262 case 2: 263 case 2:
263 host->io_word[0] |= buf[off + 1] << 8; 264 host->io_word[0] |= buf[off + 1] << 8;
264 host->io_pos++; 265 host->io_pos++;
266 /* fall through */
265 case 1: 267 case 1:
266 host->io_word[0] |= buf[off]; 268 host->io_word[0] |= buf[off];
267 host->io_pos++; 269 host->io_pos++;
diff --git a/drivers/memstick/host/tifm_ms.c b/drivers/memstick/host/tifm_ms.c
index bed205849d02..1bbb2ead9556 100644
--- a/drivers/memstick/host/tifm_ms.c
+++ b/drivers/memstick/host/tifm_ms.c
@@ -166,9 +166,11 @@ static unsigned int tifm_ms_write_data(struct tifm_ms *host,
166 case 3: 166 case 3:
167 host->io_word |= buf[off + 2] << 16; 167 host->io_word |= buf[off + 2] << 16;
168 host->io_pos++; 168 host->io_pos++;
169 /* fall through */
169 case 2: 170 case 2:
170 host->io_word |= buf[off + 1] << 8; 171 host->io_word |= buf[off + 1] << 8;
171 host->io_pos++; 172 host->io_pos++;
173 /* fall through */
172 case 1: 174 case 1:
173 host->io_word |= buf[off]; 175 host->io_word |= buf[off];
174 host->io_pos++; 176 host->io_pos++;