Commit Graph

4 Commits

Author SHA1 Message Date
Praveena Pachipulusu
263467dc0b msm: Change the permission for pwrnap, policy, modem_wait sys entries
Sysfs files are not world writable. Allowing only
root to write to sysfs files to keep non-privileged
process from change the power policy.

CRs-Fixed: 327239
Change-Id: Ibe44e888c28f854996c8a4391d99fdb7e0edd602
Signed-off-by: Praveena Pachipulusu <pveena@codeaurora.org>
2012-03-14 16:44:58 +05:30
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
4fa3ac5da7 net: usb: Return error to QMI channels during mdm9x15 disconnect
Reads performed on rmnet control devices get blocked on wait queue.
Currently, reads get unblocked only when read response is received
from mdm9x15. Hence during mdm9x15 disconnect unblock reads to return
error to QMI channels.

Change-Id: I4a2cebe9d1ce45577da8cf8524f05178ebec47dd
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2012-03-01 12:39:00 -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