Commit Graph

6 Commits

Author SHA1 Message Date
Jack Pham
42346cfc02 net: rmnet_usb: Enable wakeup from system suspend
The MDM device already supports sending remote wakeup signaling over
HSIC during normal bus auto-suspend. However, this feature is
explicitly suppressed when the kernel enters system-wide suspend.
This fix allows the device to continue to send resume signaling in
order to wake the kernel out of suspend.

Change-Id: I93d963ca56704e3011b55afe2646b0f3714ffdec
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2012-03-13 16:52:47 -07:00
Jack Pham
f77b996f43 net: rmnet_usb: Fix autosuspend support
A usbnet subdriver must implement the manage_power callback in order
to fully support autosuspend. This allows for the device to be
suspended when there is no active traffic, and USB remote wakeup
is used to signal a resume to the host.

Remove calls to usb_autopm_get/put from rmnet_usb_ctrl_start_rx and
rmnet_usb_ctrl_write_cmd as these functions are only (or should be)
called when the device is already active.

Change-Id: Ic1664a0350f414ee4a9dd737aef7aa237a319002
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2012-03-05 16:05:04 -08:00
Hemant Kumar
bf02481052 net: usb: Add support for PID 0x904c
Product Id 0x904c includes DIAG, SER3(System monitor), SER4(EFS sync),
DUN, CSVT, NET1, NET2, NET3, NET4 device interfaces.

Change-Id: Ia25ae1dda4c9017c0446db7ddde7d466572c00f6
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2012-03-01 19:01:01 -08:00
Hemant Kumar
9d6016cb4f net: usb: Add support for PID 0x9034
Embedded rmnet driver currently supports PID 0x9048.
Add support to handle multiple PIDs (i.e. 0x9034).

Change-Id: I39e1e46953c4817181fe1d76241627e530e7cd84
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2012-01-06 14:57:28 -08:00
Hemant Kumar
7f23683828 usb: Update PID to 9048 for mdm_bridge, diag_bridge, embedded rmnet drivers
mdm9x15 default composition changed from 0x9001 to 0x9048 to include
new serial interfaces and additional rmnet interfaces. Hence update the
PID for mdm_bridge, diag_bridge, embedded rmnet drivers to support new
composition.

Change-Id: I5c3778ef6b8fddd07d1a0789213e4b289ccc7567
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2012-01-04 18:45:15 -08:00
Hemant Kumar
37c35e4ee5 net: usb: Add support for embedded rmnet usb host driver
Embedded rmnet usb host driver will be used to communicate with modem
devices having rmnet interface. This driver works as pass through layer
for control and data path communication. Driver currently supports device
with product id: 0x9034 and vendor id : 0x05c6.

Change-Id: Ie037af915f2650828420a351bd3fe503a505eaee
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2011-12-19 18:04:17 -08:00