diff options
author | David Lechner <david@lechnology.com> | 2018-03-15 22:17:20 +0300 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2018-03-29 09:48:32 +0300 |
commit | 3424a516d9d2d3fa45c63750c15ea2bba893ea81 (patch) | |
tree | 94dfb6af1f4793d297e5f258f2c30dbef4e34691 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 96c081735d5197d9d4fa0b6ce84cffa3bb197474 (diff) | |
download | linux-3424a516d9d2d3fa45c63750c15ea2bba893ea81.tar.xz |
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 <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions