usb: gbam: Update port_count before opening BAM channel

Driver registers a platform driver to be notified when
the BAM channels are ready to be opened. If the BAM
channels can be opened at the time of platform device's
registration then probe function gets called immediately
and fails because port_count is not yet updated.

Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
1 file changed