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
a0309bbd
Commit
a0309bbd
authored
Aug 30, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MMC] MMCI: Remove hardcoded MCI_IRQMASK definition
parent
0416f422
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
drivers/mmc/mmci.c
drivers/mmc/mmci.c
+1
-3
drivers/mmc/mmci.h
drivers/mmc/mmci.h
+0
-5
No files found.
drivers/mmc/mmci.c
View file @
a0309bbd
...
@@ -268,11 +268,9 @@ static irqreturn_t mmci_irq(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -268,11 +268,9 @@ static irqreturn_t mmci_irq(int irq, void *dev_id, struct pt_regs *regs)
struct
mmc_data
*
data
;
struct
mmc_data
*
data
;
status
=
readl
(
host
->
base
+
MMCISTATUS
);
status
=
readl
(
host
->
base
+
MMCISTATUS
);
status
&=
readl
(
host
->
base
+
MMCIMASK0
);
writel
(
status
,
host
->
base
+
MMCICLEAR
);
writel
(
status
,
host
->
base
+
MMCICLEAR
);
if
(
!
(
status
&
MCI_IRQMASK
))
break
;
DBG
(
host
,
"irq0 %08x
\n
"
,
status
);
DBG
(
host
,
"irq0 %08x
\n
"
,
status
);
data
=
host
->
data
;
data
=
host
->
data
;
...
...
drivers/mmc/mmci.h
View file @
a0309bbd
...
@@ -103,11 +103,6 @@
...
@@ -103,11 +103,6 @@
#define MMCIFIFOCNT 0x048
#define MMCIFIFOCNT 0x048
#define MMCIFIFO 0x080
/* to 0x0bc */
#define MMCIFIFO 0x080
/* to 0x0bc */
#define MCI_IRQMASK \
(MCI_CMDCRCFAIL|MCI_DATACRCFAIL|MCI_CMDTIMEOUT|MCI_DATATIMEOUT| \
MCI_TXUNDERRUN|MCI_RXOVERRUN|MCI_CMDRESPEND|MCI_CMDSENT| \
MCI_DATAEND|MCI_DATABLOCKEND)
#define MCI_IRQENABLE \
#define MCI_IRQENABLE \
(MCI_CMDCRCFAILMASK|MCI_DATACRCFAILMASK|MCI_CMDTIMEOUTMASK| \
(MCI_CMDCRCFAILMASK|MCI_DATACRCFAILMASK|MCI_CMDTIMEOUTMASK| \
MCI_DATATIMEOUTMASK|MCI_TXUNDERRUNMASK|MCI_RXOVERRUNMASK| \
MCI_DATATIMEOUTMASK|MCI_TXUNDERRUNMASK|MCI_RXOVERRUNMASK| \
...
...
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