usb: gps: Fix multiple gps setup issue

The problem this fix solves happens when calling
gps_port_setup more than once. This can happen during
dynamic composition switch. In this case the wrong
port number would be assigned to port_num, which would
result in a connection error.

Change-Id: Ibdfc84c41039cb021e705e98d4cba690452c0cf8
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
Revert "usb: host: Fix array access to a non verified index"

This reverts commit e03107fbfc9743dece9aa2a2666e05e17e3ce760

Change-Id: I894b319271edfa791ae23f1c9db0c5f5d70d468e
Revert "usb: host: Verify sg before accessing it in qh_urb_transaction"

This reverts commit e81dfe61bf2396c3acbc8d8e45f34b9bb468c2bf

Change-Id: Ic47ffbb1b9a5e25c4b588d83b23ce95594c033d3
Merge "usb: gps: Fix multiple gps setup issue"
Merge "Revert "usb: host: Fix array access to a non verified index""
Merge "Revert "usb: host: Verify sg before accessing it in qh_urb_transaction""