summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-11-20 09:38:17 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-20 10:18:52 +0100
commit31974361761b18e07e821d3b262e34f1a2d105cb (patch)
treec9a90eda6fb4793f43978e1e099affcc4ab1ced9 /drivers/misc
parentASoC: at91sam9g20ek-wm8731: convert to dt support (diff)
downloadlinux-31974361761b18e07e821d3b262e34f1a2d105cb.tar.xz
linux-31974361761b18e07e821d3b262e34f1a2d105cb.zip
ASoC: atmel-ssc: add phybase in device structure
Useful for future dmaengine use. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/atmel-ssc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c
index a769719e36bf..d07a9eda7fff 100644
--- a/drivers/misc/atmel-ssc.c
+++ b/drivers/misc/atmel-ssc.c
@@ -157,6 +157,8 @@ static int ssc_probe(struct platform_device *pdev)
return -EINVAL;
}
+ ssc->phybase = regs->start;
+
ssc->clk = devm_clk_get(&pdev->dev, "pclk");
if (IS_ERR(ssc->clk)) {
dev_dbg(&pdev->dev, "no pclk clock defined\n");