Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
4b648b02
Commit
4b648b02
authored
Sep 25, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MTD NAND] Export nand_wait_ready() for use by board drivers
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
08d3ad6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_base.c
+2
-1
No files found.
drivers/mtd/nand/nand_base.c
View file @
4b648b02
...
...
@@ -415,7 +415,7 @@ static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
* Wait for the ready pin, after a command
* The timeout is catched later.
*/
static
void
nand_wait_ready
(
struct
mtd_info
*
mtd
)
void
nand_wait_ready
(
struct
mtd_info
*
mtd
)
{
struct
nand_chip
*
chip
=
mtd
->
priv
;
unsigned
long
timeo
=
jiffies
+
2
;
...
...
@@ -429,6 +429,7 @@ static void nand_wait_ready(struct mtd_info *mtd)
}
while
(
time_before
(
jiffies
,
timeo
));
led_trigger_event
(
nand_led_trigger
,
LED_OFF
);
}
EXPORT_SYMBOL_GPL
(
nand_wait_ready
);
/**
* nand_command - [DEFAULT] Send command to NAND device
...
...
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