diff options
| author | David Lechner <[email protected]> | 2018-03-15 19:17:20 +0000 |
|---|---|---|
| committer | Sekhar Nori <[email protected]> | 2018-03-29 06:48:32 +0000 |
| commit | 3424a516d9d2d3fa45c63750c15ea2bba893ea81 (patch) | |
| tree | 94dfb6af1f4793d297e5f258f2c30dbef4e34691 /drivers/perf/arm-ccn.c | |
| parent | ARM: davinci: move davinci_clk_init() to init_time (diff) | |
| download | kernel-3424a516d9d2d3fa45c63750c15ea2bba893ea81.tar.gz kernel-3424a516d9d2d3fa45c63750c15ea2bba893ea81.zip | |
ARM: davinci: da8xx: fix oops in USB PHY driver due to stack allocated platform_data
This fixes a possible kernel oops due to using stack allocated platform
data for the USB PHY driver on DA8XX devices. If the platform device
probe is deferred, then we get a corrupt pointer for the platform data.
We now use a global static struct for the platform data so that the
platform data pointer does not get written over.
Fixes: bdec5a6b5789 ("ARM: da8xx: use platform data for CFGCHIP syscon regmap")
Signed-off-by: David Lechner <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'drivers/perf/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions
