aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/ad525x_dpot.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2016-07-08 13:06:01 -0700
committerAmit Pundir <amit.pundir@linaro.org>2016-07-11 13:48:25 +0530
commit4ed816d26bf27611bb8d269977bf3c17e8d91a47 (patch)
tree8bd4c57df1520e2fba69f3503b4609781a2f80ba /drivers/misc/ad525x_dpot.c
parent38b1bef3662c8b8b15e7b25a4208be4be18b7143 (diff)
UPSTREAM: cdc_ncm: do not call usbnet_link_change from cdc_ncm_bind
(cherry pick from commit 4d06dd537f95683aba3651098ae288b7cbff8274) usbnet_link_change will call schedule_work and should be avoided if bind is failing. Otherwise we will end up with scheduled work referring to a netdev which has gone away. Instead of making the call conditional, we can just defer it to usbnet_probe, using the driver_info flag made for this purpose. Fixes: 8a34b0ae8778 ("usbnet: cdc_ncm: apply usbnet_link_change") Reported-by: Andrey Konovalov <andreyknvl@gmail.com> Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net> Change-Id: Id9a6d02bdd98bf495d26595cf2cc90e480746186 Bug: 28744625
Diffstat (limited to 'drivers/misc/ad525x_dpot.c')
0 files changed, 0 insertions, 0 deletions