aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/apanel.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-05-27 01:37:19 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-05-27 01:37:19 -0400
commit5de4cd431db749bdca58ec88862462729f6159b2 (patch)
tree86a4d81c487645e3bdb87c0ee31cf3ba62c9dc7e /drivers/input/misc/apanel.c
parentInput: wm97xx-core - fix driver name (diff)
downloadlinux-dev-5de4cd431db749bdca58ec88862462729f6159b2.tar.xz
linux-dev-5de4cd431db749bdca58ec88862462729f6159b2.zip
Input: wm97xx-core - fix race on PHY init
The chip phy_init() function must be called before the dig_enable() function but dig_enable() is called when the device is opened and we only call phy_init() after having reigstered the device, meaning the two can race. Fix this by doing the phy_init() before we register the input device. Thanks to Rodolfo Giometti <giometti@enneenne.com> for the report. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/apanel.c')
0 files changed, 0 insertions, 0 deletions