coresight: funnel: Fix the duplicate-funnel enable crash issue

When enable the duplicate-funnel, it would crash due to missing the
initialization of the struct csdev_access in the funnel probe.

Change-Id: Iaedfdf300f35e0c7f1b2da7f7ede26aa84bae395
Signed-off-by: Hao Zhang <quic_hazha@quicinc.com>
This commit is contained in:
Hao Zhang 2022-06-09 09:51:32 +08:00 committed by Gerrit - the friendly Code Review server
parent 2b0465b6c3
commit cf18d0685f

View File

@ -272,6 +272,7 @@ static int funnel_probe(struct device *dev, struct resource *res)
}
drvdata->base = base;
desc.groups = coresight_funnel_groups;
desc.access = CSDEV_ACCESS_IOMEM(base);
} else if (res) {
/*
* Map the device base for dynamic-funnel, which has been