Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
22fd9a87
Commit
22fd9a87
authored
May 24, 2005
by
Thomas Gleixner
Committed by
Thomas Gleixner
May 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MTD] cfi_cmdset_0002: Fix broken status check
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
f0827613
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_cmdset_0002.c
+2
-2
No files found.
drivers/mtd/chips/cfi_cmdset_0002.c
View file @
22fd9a87
...
...
@@ -13,7 +13,7 @@
*
* This code is GPL
*
* $Id: cfi_cmdset_0002.c,v 1.11
5 2005/05/20 03:28:23 eric
Exp $
* $Id: cfi_cmdset_0002.c,v 1.11
6 2005/05/24 13:29:42 gleixner
Exp $
*
*/
...
...
@@ -1320,7 +1320,7 @@ static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, u
cfi_spin_lock
(
chip
->
mutex
);
}
/* Did we succeed? */
if
(
chip_good
(
map
,
adr
,
map_word_ff
(
map
)))
{
if
(
!
chip_good
(
map
,
adr
,
map_word_ff
(
map
)))
{
/* reset on all failures. */
map_write
(
map
,
CMD
(
0xF0
),
chip
->
start
);
/* FIXME - should have reset delay before continuing */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment