usb: dwc_otg_310: fix smatch warnings relate to locking imbalance.
authorFrank Wang <frank.wang@rock-chips.com>
Mon, 31 Oct 2016 03:00:56 +0000 (11:00 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 31 Oct 2016 03:55:43 +0000 (11:55 +0800)
commit4aa5b95c1e3dfc70e12196145b8f88672ec40a24
tree67970d2c20477eee06f1ee617a1273da1667f170
parent612d0d0aca5b5db5699999f9a1bed49a6c355404
usb: dwc_otg_310: fix smatch warnings relate to locking imbalance.

This patch corrects the below locking imbalance warnings:

drivers/usb/dwc_otg_310/dwc_otg_driver.c:406 dwc_otg_force_device()
warn: inconsistent returns 'irqsave:flags'.
  Locked on:   line 390
  Unlocked on: line 406

Change-Id: Id79ebe0d41fbbab38c59384e23d7e2133c436c96
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
drivers/usb/dwc_otg_310/dwc_otg_driver.c