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
711e020c
Commit
711e020c
authored
Sep 22, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branches 'spi/fix/spidev' and 'spi/fix/xtfpga' into spi-linus
parents
5132361c
dd85ebf6
b0b48550
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
drivers/spi/spi-xtensa-xtfpga.c
drivers/spi/spi-xtensa-xtfpga.c
+2
-2
drivers/spi/spidev.c
drivers/spi/spidev.c
+2
-1
No files found.
drivers/spi/spi-xtensa-xtfpga.c
View file @
711e020c
...
...
@@ -34,13 +34,13 @@ struct xtfpga_spi {
static
inline
void
xtfpga_spi_write32
(
const
struct
xtfpga_spi
*
spi
,
unsigned
addr
,
u32
val
)
{
iowrite32
(
val
,
spi
->
regs
+
addr
);
__raw_writel
(
val
,
spi
->
regs
+
addr
);
}
static
inline
unsigned
int
xtfpga_spi_read32
(
const
struct
xtfpga_spi
*
spi
,
unsigned
addr
)
{
return
ioread32
(
spi
->
regs
+
addr
);
return
__raw_readl
(
spi
->
regs
+
addr
);
}
static
inline
void
xtfpga_spi_wait_busy
(
struct
xtfpga_spi
*
xspi
)
...
...
drivers/spi/spidev.c
View file @
711e020c
...
...
@@ -651,6 +651,7 @@ static int spidev_release(struct inode *inode, struct file *filp)
kfree
(
spidev
->
rx_buffer
);
spidev
->
rx_buffer
=
NULL
;
if
(
spidev
->
spi
)
spidev
->
speed_hz
=
spidev
->
spi
->
max_speed_hz
;
/* ... after we unbound from the underlying 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