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
0dae1845
Commit
0dae1845
authored
Mar 14, 2016
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/sh' into for-linus
parents
254efeec
20c169ac
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/dma/sh/Kconfig
drivers/dma/sh/Kconfig
+3
-3
drivers/dma/sh/rcar-dmac.c
drivers/dma/sh/rcar-dmac.c
+1
-1
drivers/dma/sh/shdmac.c
drivers/dma/sh/shdmac.c
+1
-1
No files found.
drivers/dma/sh/Kconfig
View file @
0dae1845
...
@@ -12,7 +12,7 @@ config RENESAS_DMA
...
@@ -12,7 +12,7 @@ config RENESAS_DMA
config SH_DMAE_BASE
config SH_DMAE_BASE
bool "Renesas SuperH DMA Engine support"
bool "Renesas SuperH DMA Engine support"
depends on SUPERH || ARCH_
SHMOBILE
|| COMPILE_TEST
depends on SUPERH || ARCH_
RENESAS
|| COMPILE_TEST
depends on !SUPERH || SH_DMA
depends on !SUPERH || SH_DMA
depends on !SH_DMA_API
depends on !SH_DMA_API
default y
default y
...
@@ -41,7 +41,7 @@ endif
...
@@ -41,7 +41,7 @@ endif
config RCAR_DMAC
config RCAR_DMAC
tristate "Renesas R-Car Gen2 DMA Controller"
tristate "Renesas R-Car Gen2 DMA Controller"
depends on ARCH_
SHMOBILE
|| COMPILE_TEST
depends on ARCH_
RENESAS
|| COMPILE_TEST
select RENESAS_DMA
select RENESAS_DMA
help
help
This driver supports the general purpose DMA controller found in the
This driver supports the general purpose DMA controller found in the
...
@@ -49,7 +49,7 @@ config RCAR_DMAC
...
@@ -49,7 +49,7 @@ config RCAR_DMAC
config RENESAS_USB_DMAC
config RENESAS_USB_DMAC
tristate "Renesas USB-DMA Controller"
tristate "Renesas USB-DMA Controller"
depends on ARCH_
SHMOBILE
|| COMPILE_TEST
depends on ARCH_
RENESAS
|| COMPILE_TEST
select RENESAS_DMA
select RENESAS_DMA
select DMA_VIRTUAL_CHANNELS
select DMA_VIRTUAL_CHANNELS
help
help
...
...
drivers/dma/sh/rcar-dmac.c
View file @
0dae1845
...
@@ -413,7 +413,7 @@ static int rcar_dmac_init(struct rcar_dmac *dmac)
...
@@ -413,7 +413,7 @@ static int rcar_dmac_init(struct rcar_dmac *dmac)
u16
dmaor
;
u16
dmaor
;
/* Clear all channels and enable the DMAC globally. */
/* Clear all channels and enable the DMAC globally. */
rcar_dmac_write
(
dmac
,
RCAR_DMACHCLR
,
0x7fff
);
rcar_dmac_write
(
dmac
,
RCAR_DMACHCLR
,
GENMASK
(
dmac
->
n_channels
-
1
,
0
)
);
rcar_dmac_write
(
dmac
,
RCAR_DMAOR
,
rcar_dmac_write
(
dmac
,
RCAR_DMAOR
,
RCAR_DMAOR_PRI_FIXED
|
RCAR_DMAOR_DME
);
RCAR_DMAOR_PRI_FIXED
|
RCAR_DMAOR_DME
);
...
...
drivers/dma/sh/shdmac.c
View file @
0dae1845
...
@@ -699,7 +699,7 @@ static int sh_dmae_probe(struct platform_device *pdev)
...
@@ -699,7 +699,7 @@ static int sh_dmae_probe(struct platform_device *pdev)
struct
resource
*
chan
,
*
dmars
,
*
errirq_res
,
*
chanirq_res
;
struct
resource
*
chan
,
*
dmars
,
*
errirq_res
,
*
chanirq_res
;
if
(
pdev
->
dev
.
of_node
)
if
(
pdev
->
dev
.
of_node
)
pdata
=
of_
match_device
(
sh_dmae_of_match
,
&
pdev
->
dev
)
->
data
;
pdata
=
of_
device_get_match_data
(
&
pdev
->
dev
)
;
else
else
pdata
=
dev_get_platdata
(
&
pdev
->
dev
);
pdata
=
dev_get_platdata
(
&
pdev
->
dev
);
...
...
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