Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75375
b: refs/heads/master
c: b506d1b
h: refs/heads/master
i:
  75373: 002b302
  75371: e37f819
  75367: 1cd223d
  75359: 18e80fc
v: v3
  • Loading branch information
Linus Torvalds committed Jan 11, 2008
1 parent d61b706 commit 896a836
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 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: 11a57153e3377ffdf8cfca2eda9a99063f66b957
refs/heads/master: b506d1b6c49a5884ff67a29bc99a1912ee20acee
2 changes: 2 additions & 0 deletions trunk/drivers/ide/ide-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ static const struct dmi_system_id ide_acpi_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VERSION, "KAM1.60")
},
},

{ } /* terminate list */
};

static int ide_acpi_blacklist(void)
Expand Down
7 changes: 5 additions & 2 deletions trunk/drivers/mtd/chips/cfi_cmdset_0001.c
Original file line number Diff line number Diff line change
Expand Up @@ -1504,9 +1504,12 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
int ret, wbufsize, word_gap, words;
const struct kvec *vec;
unsigned long vec_seek;
unsigned long initial_adr;
int initial_len = len;

wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize;
adr += chip->start;
initial_adr = adr;
cmd_adr = adr & ~(wbufsize-1);

/* Let's determine this according to the interleave only once */
Expand All @@ -1519,7 +1522,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
return ret;
}

XIP_INVAL_CACHED_RANGE(map, adr, len);
XIP_INVAL_CACHED_RANGE(map, initial_adr, initial_len);
ENABLE_VPP(map);
xip_disable(map, chip, cmd_adr);

Expand Down Expand Up @@ -1610,7 +1613,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
chip->state = FL_WRITING;

ret = INVAL_CACHE_AND_WAIT(map, chip, cmd_adr,
adr, len,
initial_adr, initial_len,
chip->buffer_write_time);
if (ret) {
map_write(map, CMD(0x70), cmd_adr);
Expand Down

0 comments on commit 896a836

Please sign in to comment.