Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328215
b: refs/heads/master
c: e962610
h: refs/heads/master
i:
  328213: 312bb79
  328211: 8d0d3b4
  328207: 0351cda
v: v3
  • Loading branch information
Ming Lei authored and John W. Linville committed Sep 24, 2012
1 parent a5782d6 commit 9a0f9a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a03414686d8e01c660bf69df22cafcfd2753626
refs/heads/master: e962610f8100e1b52973f5a9c855cbc3d1ba04ec
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/hif_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,14 +1072,15 @@ static void ath9k_hif_usb_dev_deinit(struct hif_device_usb *hif_dev)
*/
static void ath9k_hif_usb_firmware_fail(struct hif_device_usb *hif_dev)
{
struct device *parent = hif_dev->udev->dev.parent;
struct device *dev = &hif_dev->udev->dev;
struct device *parent = dev->parent;

complete(&hif_dev->fw_done);

if (parent)
device_lock(parent);

device_release_driver(&hif_dev->udev->dev);
device_release_driver(dev);

if (parent)
device_unlock(parent);
Expand Down

0 comments on commit 9a0f9a4

Please sign in to comment.