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
38520917
Commit
38520917
authored
Oct 23, 2006
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with mainline: drivers/mmc/omap.c
Apply relevant parts of two patches in mainline tree:
42431acb
7d12e780
parent
85eca8bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
drivers/mmc/omap.c
drivers/mmc/omap.c
+7
-6
No files found.
drivers/mmc/omap.c
View file @
38520917
...
...
@@ -428,7 +428,7 @@ static inline void mmc_omap_report_irq(u16 status)
}
}
static
irqreturn_t
mmc_omap_irq
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
irqreturn_t
mmc_omap_irq
(
int
irq
,
void
*
dev_id
)
{
struct
mmc_omap_host
*
host
=
(
struct
mmc_omap_host
*
)
dev_id
;
u16
status
;
...
...
@@ -565,7 +565,7 @@ static irqreturn_t mmc_omap_irq(int irq, void *dev_id, struct pt_regs *regs)
return
IRQ_HANDLED
;
}
static
irqreturn_t
mmc_omap_switch_irq
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
irqreturn_t
mmc_omap_switch_irq
(
int
irq
,
void
*
dev_id
)
{
struct
mmc_omap_host
*
host
=
(
struct
mmc_omap_host
*
)
dev_id
;
...
...
@@ -1091,13 +1091,14 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
host
->
phys_base
=
host
->
mem_res
->
start
;
host
->
virt_base
=
(
void
__iomem
*
)
IO_ADDRESS
(
host
->
phys_base
);
if
(
minfo
->
wire4
)
mmc
->
caps
|=
MMC_CAP_4_BIT_DATA
;
mmc
->
ops
=
&
mmc_omap_ops
;
mmc
->
f_min
=
400000
;
mmc
->
f_max
=
24000000
;
mmc
->
ocr_avail
=
MMC_VDD_32_33
|
MMC_VDD_33_34
;
mmc
->
ocr_avail
=
MMC_VDD_32_33
|
MMC_VDD_33_34
|
MMC_CAP_MULTIWRITE
|
MMC_CAP_BYTEBLOCK
;
if
(
minfo
->
wire4
)
mmc
->
caps
|=
MMC_CAP_4_BIT_DATA
;
/* Use scatterlist DMA to reduce per-transfer costs.
* NOTE max_seg_size assumption that small blocks aren't
...
...
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