diff options
author | Furong Xu <xfr@outlook.com> | 2017-03-02 17:00:32 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-08-21 21:29:52 +0200 |
commit | 5a22df69e421246ba4653d3dd70d25d1aaa5d31c (patch) | |
tree | 02abd9b533f8d33695b1911c15b0ef9d0d94c3f2 /package/network/config/vti | |
parent | e505f59bd946a85c7eb8d5b19d796ed4d45218df (diff) | |
download | upstream-5a22df69e421246ba4653d3dd70d25d1aaa5d31c.tar.gz upstream-5a22df69e421246ba4653d3dd70d25d1aaa5d31c.tar.bz2 upstream-5a22df69e421246ba4653d3dd70d25d1aaa5d31c.zip |
gpio-button-hotplug: leave platform_device.dev.platform_data untouched
get platform_data from gpio_keys_button_dev.pdata, and fix a illegal pointer
dereference like this:
[ 51.143776] gpio-keys-polled gpio-keys-polled: missing poll_interval value
[ 51.150852] gpio-keys-polled: probe of gpio-keys-polled failed with error -22
[ 828.159993] gpio-keys-polled gpio-keys-polled: no memory for button data
[ 828.166821] gpio-keys-polled: probe of gpio-keys-polled failed with error -12
Signed-off-by: Furong Xu <xfr@outlook.com>
Diffstat (limited to 'package/network/config/vti')
0 files changed, 0 insertions, 0 deletions