On Tue, 2015-10-27 at 13:24 +, Robin Murphy wrote:
> On 09/10/15 03:23, Yong Wu wrote:
> [...]
> > +static int mtk_smi_probe(struct platform_device *pdev)
> > +{
> > + struct device *dev = >dev;
> > + struct mtk_smi_data *smidata;
> > + int ret;
> > +
> > + if (!dev->pm_domain)
> > +
On 09/10/15 03:23, Yong Wu wrote:
[...]
+static int mtk_smi_probe(struct platform_device *pdev)
+{
+ struct device *dev = >dev;
+ struct mtk_smi_data *smidata;
+ int ret;
+
+ if (!dev->pm_domain)
+ return -EPROBE_DEFER;
+
+ smidata = devm_kzalloc(dev,
This patch add SMI(Smart Multimedia Interface) driver. This driver
is responsible to enable/disable iommu and control the clocks of each
local arbiter
Signed-off-by: Yong Wu
---
drivers/memory/Kconfig | 8 ++
drivers/memory/Makefile| 1 +