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
92d58fd1
Commit
92d58fd1
authored
Oct 21, 2018
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'spi-4.19' into spi-linus
parents
35a7f35a
4585add9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
MAINTAINERS
MAINTAINERS
+9
-0
drivers/spi/spi-bcm-qspi.c
drivers/spi/spi-bcm-qspi.c
+2
-2
drivers/spi/spi-rockchip.c
drivers/spi/spi-rockchip.c
+3
-0
drivers/spi/spi-sh-msiof.c
drivers/spi/spi-sh-msiof.c
+2
-2
No files found.
MAINTAINERS
View file @
92d58fd1
...
@@ -3113,6 +3113,15 @@ S: Maintained
...
@@ -3113,6 +3113,15 @@ S: Maintained
F: Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.txt
F: Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.txt
F: drivers/memory/brcmstb_dpfe.c
F: drivers/memory/brcmstb_dpfe.c
BROADCOM SPI DRIVER
M: Kamal Dasu <kdasu.kdev@gmail.com>
M: bcm-kernel-feedback-list@broadcom.com
S: Maintained
F: Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.txt
F: drivers/spi/spi-bcm-qspi.*
F: drivers/spi/spi-brcmstb-qspi.c
F: drivers/spi/spi-iproc-qspi.c
BROADCOM SYSTEMPORT ETHERNET DRIVER
BROADCOM SYSTEMPORT ETHERNET DRIVER
M: Florian Fainelli <f.fainelli@gmail.com>
M: Florian Fainelli <f.fainelli@gmail.com>
L: netdev@vger.kernel.org
L: netdev@vger.kernel.org
...
...
drivers/spi/spi-bcm-qspi.c
View file @
92d58fd1
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
#define BSPI_BPP_MODE_SELECT_MASK BIT(8)
#define BSPI_BPP_MODE_SELECT_MASK BIT(8)
#define BSPI_BPP_ADDR_SELECT_MASK BIT(16)
#define BSPI_BPP_ADDR_SELECT_MASK BIT(16)
#define BSPI_READ_LENGTH
512
#define BSPI_READ_LENGTH
256
/* MSPI register offsets */
/* MSPI register offsets */
#define MSPI_SPCR0_LSB 0x000
#define MSPI_SPCR0_LSB 0x000
...
@@ -355,7 +355,7 @@ static int bcm_qspi_bspi_set_flex_mode(struct bcm_qspi *qspi,
...
@@ -355,7 +355,7 @@ static int bcm_qspi_bspi_set_flex_mode(struct bcm_qspi *qspi,
int
bpc
=
0
,
bpp
=
0
;
int
bpc
=
0
,
bpp
=
0
;
u8
command
=
op
->
cmd
.
opcode
;
u8
command
=
op
->
cmd
.
opcode
;
int
width
=
op
->
cmd
.
buswidth
?
op
->
cmd
.
buswidth
:
SPI_NBITS_SINGLE
;
int
width
=
op
->
cmd
.
buswidth
?
op
->
cmd
.
buswidth
:
SPI_NBITS_SINGLE
;
int
addrlen
=
op
->
addr
.
nbytes
*
8
;
int
addrlen
=
op
->
addr
.
nbytes
;
int
flex_mode
=
1
;
int
flex_mode
=
1
;
dev_dbg
(
&
qspi
->
pdev
->
dev
,
"set flex mode w %x addrlen %x hp %d
\n
"
,
dev_dbg
(
&
qspi
->
pdev
->
dev
,
"set flex mode w %x addrlen %x hp %d
\n
"
,
...
...
drivers/spi/spi-rockchip.c
View file @
92d58fd1
...
@@ -445,6 +445,9 @@ static int rockchip_spi_prepare_dma(struct rockchip_spi *rs)
...
@@ -445,6 +445,9 @@ static int rockchip_spi_prepare_dma(struct rockchip_spi *rs)
struct
dma_slave_config
rxconf
,
txconf
;
struct
dma_slave_config
rxconf
,
txconf
;
struct
dma_async_tx_descriptor
*
rxdesc
,
*
txdesc
;
struct
dma_async_tx_descriptor
*
rxdesc
,
*
txdesc
;
memset
(
&
rxconf
,
0
,
sizeof
(
rxconf
));
memset
(
&
txconf
,
0
,
sizeof
(
txconf
));
spin_lock_irqsave
(
&
rs
->
lock
,
flags
);
spin_lock_irqsave
(
&
rs
->
lock
,
flags
);
rs
->
state
&=
~
RXBUSY
;
rs
->
state
&=
~
RXBUSY
;
rs
->
state
&=
~
TXBUSY
;
rs
->
state
&=
~
TXBUSY
;
...
...
drivers/spi/spi-sh-msiof.c
View file @
92d58fd1
...
@@ -1343,8 +1343,8 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
...
@@ -1343,8 +1343,8 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
i
=
platform_get_irq
(
pdev
,
0
);
i
=
platform_get_irq
(
pdev
,
0
);
if
(
i
<
0
)
{
if
(
i
<
0
)
{
dev_err
(
&
pdev
->
dev
,
"cannot get
platform
IRQ
\n
"
);
dev_err
(
&
pdev
->
dev
,
"cannot get IRQ
\n
"
);
ret
=
-
ENOENT
;
ret
=
i
;
goto
err1
;
goto
err1
;
}
}
...
...
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