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
b683fa22
Commit
b683fa22
authored
Nov 14, 2017
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/renasas' into for-linus
parents
c7960fc5
087ffdd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
+2
-0
drivers/dma/nbpfaxi.c
drivers/dma/nbpfaxi.c
+2
-3
No files found.
Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt
View file @
b683fa22
...
...
@@ -3,6 +3,8 @@
Required Properties:
-compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback.
Examples with soctypes are:
- "renesas,r8a7743-usb-dmac" (RZ/G1M)
- "renesas,r8a7745-usb-dmac" (RZ/G1E)
- "renesas,r8a7790-usb-dmac" (R-Car H2)
- "renesas,r8a7791-usb-dmac" (R-Car M2-W)
- "renesas,r8a7793-usb-dmac" (R-Car M2-N)
...
...
drivers/dma/nbpfaxi.c
View file @
b683fa22
...
...
@@ -1286,7 +1286,6 @@ MODULE_DEVICE_TABLE(of, nbpf_match);
static
int
nbpf_probe
(
struct
platform_device
*
pdev
)
{
struct
device
*
dev
=
&
pdev
->
dev
;
const
struct
of_device_id
*
of_id
=
of_match_device
(
nbpf_match
,
dev
);
struct
device_node
*
np
=
dev
->
of_node
;
struct
nbpf_device
*
nbpf
;
struct
dma_device
*
dma_dev
;
...
...
@@ -1300,10 +1299,10 @@ static int nbpf_probe(struct platform_device *pdev)
BUILD_BUG_ON
(
sizeof
(
struct
nbpf_desc_page
)
>
PAGE_SIZE
);
/* DT only */
if
(
!
np
||
!
of_id
||
!
of_id
->
data
)
if
(
!
np
)
return
-
ENODEV
;
cfg
=
of_
id
->
data
;
cfg
=
of_
device_get_match_data
(
dev
)
;
num_channels
=
cfg
->
num_channels
;
nbpf
=
devm_kzalloc
(
dev
,
sizeof
(
*
nbpf
)
+
num_channels
*
...
...
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