mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
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:
parent
2b0465b6c3
commit
cf18d0685f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user