)]}'
{
  "commit": "fc30c4bb44a3665edcc76bd7af93f009bc9dc672",
  "tree": "c35aa7293aa1ad294ef361908e8a208b5a0fb82d",
  "parents": [
    "6e6360b67d12370638ad1bc8943cc63d4c89da27"
  ],
  "author": {
    "name": "John Stultz",
    "email": "john.stultz@linaro.org",
    "time": "Mon Jan 23 14:59:35 2017 -0800"
  },
  "committer": {
    "name": "Felipe Balbi",
    "email": "felipe.balbi@linux.intel.com",
    "time": "Tue Jan 24 16:19:09 2017 +0200"
  },
  "message": "usb: dwc2: Workaround case where GOTGCTL state is wrong\n\nWhen removing a USB-A to USB-otg adapter cable, we get a change status\nirq, and then in dwc2_conn_id_status_change, we erroneously see the\nGOTGCTL_CONID_B flag set. This causes us to get stuck in the\n\"while (!dwc2_is_device_mode(hsotg))\" loop, spitting out \"Waiting for\nPeripheral Mode, Mode\u003dHost\" warnings until it fails out many seconds\nlater.\n\nThis patch works around the issue by re-reading the GOTGCTL state to\ncheck if the GOTGCTL_CONID_B is still set and if not restarting the\nchange status logic.\n\nCc: Wei Xu \u003cxuwei5@hisilicon.com\u003e\nCc: Guodong Xu \u003cguodong.xu@linaro.org\u003e\nCc: Amit Pundir \u003camit.pundir@linaro.org\u003e\nCc: Rob Herring \u003crobh+dt@kernel.org\u003e\nCc: John Youn \u003cjohnyoun@synopsys.com\u003e\nCc: Douglas Anderson \u003cdianders@chromium.org\u003e\nCc: Chen Yu \u003cchenyu56@huawei.com\u003e\nCc: Vardan Mikayelyan \u003cmvardan@synopsys.com\u003e\nCc: Kishon Vijay Abraham I \u003ckishon@ti.com\u003e\nCc: Felipe Balbi \u003cfelipe.balbi@linux.intel.com\u003e\nCc: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\nCc: linux-usb@vger.kernel.org\nReviewed-by: Vardan Mikayelyan \u003cmvardan@synopsys.com\u003e\nSigned-off-by: John Stultz \u003cjohn.stultz@linaro.org\u003e\nSigned-off-by: John Youn \u003cjohnyoun@synopsys.com\u003e\nSigned-off-by: Felipe Balbi \u003cfelipe.balbi@linux.intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b688b0416960386bf55de344ad785fb6764c1dc",
      "old_mode": 33188,
      "old_path": "drivers/usb/dwc2/hcd.c",
      "new_id": "e0d152f2c81bee2931957008ee9ec5f84771a2eb",
      "new_mode": 33188,
      "new_path": "drivers/usb/dwc2/hcd.c"
    }
  ]
}
