summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-dln2.c
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2016-08-25 11:53:24 -0500
committerDoug Ledford <dledford@redhat.com>2016-08-26 09:59:13 -0400
commitb71121b4b70a995c0b794026e84c880c4f26c361 (patch)
tree7bfef02890f4ea2da4724aecc52ecac90b050885 /drivers/gpio/gpio-dln2.c
parent866e0f4d73390ee6f5cd68aa92cf74eef3a2b0f2 (diff)
downloadlinux-b71121b4b70a995c0b794026e84c880c4f26c361.tar.gz
linux-b71121b4b70a995c0b794026e84c880c4f26c361.tar.bz2
linux-b71121b4b70a995c0b794026e84c880c4f26c361.zip
i40iw: Receive notification events correctly
Device notifications are not received after the first interface is closed; since there is an unregister for notifications on every interface close. Correct this by unregistering for device notifications only when the last interface is closed. Also, make all operations on the i40iw_notifiers_registered atomic as it can be read/modified concurrently. Fixes: 8e06af711bf2 ("i40iw: add main, hdr, status") Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/gpio/gpio-dln2.c')
0 files changed, 0 insertions, 0 deletions