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
nexedi
linux
Commits
5afd077d
Commit
5afd077d
authored
Sep 26, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/pl022' into spi-devm
parents
13e92b5b
4ebfee91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
drivers/spi/spi-pl022.c
drivers/spi/spi-pl022.c
+0
-3
No files found.
drivers/spi/spi-pl022.c
View file @
5afd077d
...
@@ -1619,7 +1619,6 @@ static int verify_controller_parameters(struct pl022 *pl022,
...
@@ -1619,7 +1619,6 @@ static int verify_controller_parameters(struct pl022 *pl022,
dev_err
(
&
pl022
->
adev
->
dev
,
dev_err
(
&
pl022
->
adev
->
dev
,
"RX FIFO Trigger Level is configured incorrectly
\n
"
);
"RX FIFO Trigger Level is configured incorrectly
\n
"
);
return
-
EINVAL
;
return
-
EINVAL
;
break
;
}
}
switch
(
chip_info
->
tx_lev_trig
)
{
switch
(
chip_info
->
tx_lev_trig
)
{
case
SSP_TX_1_OR_MORE_EMPTY_LOC
:
case
SSP_TX_1_OR_MORE_EMPTY_LOC
:
...
@@ -1645,7 +1644,6 @@ static int verify_controller_parameters(struct pl022 *pl022,
...
@@ -1645,7 +1644,6 @@ static int verify_controller_parameters(struct pl022 *pl022,
dev_err
(
&
pl022
->
adev
->
dev
,
dev_err
(
&
pl022
->
adev
->
dev
,
"TX FIFO Trigger Level is configured incorrectly
\n
"
);
"TX FIFO Trigger Level is configured incorrectly
\n
"
);
return
-
EINVAL
;
return
-
EINVAL
;
break
;
}
}
if
(
chip_info
->
iface
==
SSP_INTERFACE_NATIONAL_MICROWIRE
)
{
if
(
chip_info
->
iface
==
SSP_INTERFACE_NATIONAL_MICROWIRE
)
{
if
((
chip_info
->
ctrl_len
<
SSP_BITS_4
)
if
((
chip_info
->
ctrl_len
<
SSP_BITS_4
)
...
@@ -2288,7 +2286,6 @@ pl022_remove(struct amba_device *adev)
...
@@ -2288,7 +2286,6 @@ pl022_remove(struct amba_device *adev)
amba_release_regions
(
adev
);
amba_release_regions
(
adev
);
tasklet_disable
(
&
pl022
->
pump_transfers
);
tasklet_disable
(
&
pl022
->
pump_transfers
);
spi_unregister_master
(
pl022
->
master
);
spi_unregister_master
(
pl022
->
master
);
amba_set_drvdata
(
adev
,
NULL
);
return
0
;
return
0
;
}
}
...
...
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