Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
1f04a73e
Commit
1f04a73e
authored
Oct 29, 2014
by
Brian Norris
Browse files
Options
Browse Files
Download
Plain Diff
MTD: merge 3.18 development into -next development
To keep the two paths in sync
parents
5935946c
89cf38dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0001.c
+2
-0
drivers/mtd/nand/omap_elm.c
drivers/mtd/nand/omap_elm.c
+1
-1
No files found.
drivers/mtd/chips/cfi_cmdset_0001.c
View file @
1f04a73e
...
@@ -2590,6 +2590,8 @@ static void cfi_intelext_resume(struct mtd_info *mtd)
...
@@ -2590,6 +2590,8 @@ static void cfi_intelext_resume(struct mtd_info *mtd)
/* Go to known state. Chip may have been power cycled */
/* Go to known state. Chip may have been power cycled */
if
(
chip
->
state
==
FL_PM_SUSPENDED
)
{
if
(
chip
->
state
==
FL_PM_SUSPENDED
)
{
/* Refresh LH28F640BF Partition Config. Register */
fixup_LH28F640BF
(
mtd
);
map_write
(
map
,
CMD
(
0xFF
),
cfi
->
chips
[
i
].
start
);
map_write
(
map
,
CMD
(
0xFF
),
cfi
->
chips
[
i
].
start
);
chip
->
oldstate
=
chip
->
state
=
FL_READY
;
chip
->
oldstate
=
chip
->
state
=
FL_READY
;
wake_up
(
&
chip
->
wq
);
wake_up
(
&
chip
->
wq
);
...
...
drivers/mtd/nand/omap_elm.c
View file @
1f04a73e
...
@@ -115,7 +115,7 @@ int elm_config(struct device *dev, enum bch_ecc bch_type,
...
@@ -115,7 +115,7 @@ int elm_config(struct device *dev, enum bch_ecc bch_type,
if
(
!
info
)
{
if
(
!
info
)
{
dev_err
(
dev
,
"Unable to configure elm - device not probed?
\n
"
);
dev_err
(
dev
,
"Unable to configure elm - device not probed?
\n
"
);
return
-
E
NODEV
;
return
-
E
PROBE_DEFER
;
}
}
/* ELM cannot detect ECC errors for chunks > 1KB */
/* ELM cannot detect ECC errors for chunks > 1KB */
if
(
ecc_step_size
>
((
ELM_ECC_SIZE
+
1
)
/
2
))
{
if
(
ecc_step_size
>
((
ELM_ECC_SIZE
+
1
)
/
2
))
{
...
...
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