commit | d59b5d3157bf4526b8db4232999ac9257d6802cf | [log] [tgz] |
---|---|---|
author | Manu Gautam <mgautam@codeaurora.org> | Fri Sep 09 14:47:08 2011 +0530 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 09:58:56 2011 -0700 |
tree | 89468ef18cdbf149f4240db74d21be683289eb2b | |
parent | b33f33a13f54df4471447fa67bf5a6eb50af3040 [diff] |
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>