summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-18ARM: tegra: dvfs: Fix error checking of voltageJuha Tukkinen
Fix error checking of predicted voltage. Also get rid of maybe-uninitialized warning when using 4.6 toolchain. Bug 949219 Bug 999222 Change-Id: I47553aba5a93c91bdd93cbf75081d69f92aec4dd Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/108899 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-18video: tegra: host: expose power management paramters via sysfsMayuresh Kulkarni
this commit exposes following power management parameter through sysfs: - clockgate_delay: delay after which module is clock gated after it goes idle. this read/write attribute & unit is ms. - powergate_delay: delay after which module is power gated after it is clock gated. this is read/write attribute & unit is ms. - refcount: current reference count on the module. this is read-only attribute. path is: /sys/devices/host1x/<device-name>/acm/ where <device-name> = name of device node like gr2d or gr3d etc Bug 845598 Change-Id: I6011eb90ee85b5fc576320272e657ce31f9e264d Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/108827 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Francis Hart <fhart@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2012-06-18usb: tegra: otg: fix unbalanced suspend/resumeXin Xie
Becasue of a previous workaround, suspend/resume pair is implemented as suspend/complete pair in the driver's dev_pm_ops field. If any driver suspend routine (which is called before otg suspend) failed, then tegra_otg_resume() will be called even tegra_otg_suspend() is not called. This will cause disable the OTG clock, and OTG will not generate any more IRQ. Ideal fix would be use suspend/resume pair to implement the dev_pm_ops, but this might break previous workaround. This patch check suspend() routine is called or not in the resume routine; even we use suspend/ resume pair in the future, it will not cause bad behaviour. BUG 999759 Change-Id: I88f9c28bb76c5ff9e32917904017f291456cb933 Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/108444 (cherry picked from commit c751aeea65f126d8e2df7f8a9ba02a631f958dc1) Reviewed-on: http://git-master/r/108945 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-06-18iio: light: fix error handling for LTR558Shridhar Rasal
Change-Id: I34748241728bb0bab1861f8abacffdfe2939740f Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/109158 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-06-18USB: tegra: otg: Enable host by defaultKrishna Yarlagadda
Host support should be disabled only when there is platform data specifying proper setting. Bug 998001 Change-Id: I99ff534074dd7ebbf12b53dcf53d6286925965d2 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/108760 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-06-15Merge remote-tracking branch 'origin/dev/omp_bcmdhd_update_5_90_195_61' into ↵varun colbert
promotion_build
2012-06-15sound: soc: tegra: fix compilation errorsRhyland Klein
Several compilation errors popped up when building the 3.1 kernel for chrome. Warnings included callback structure changing and not being updated in the max98095 codec driver and unused labels. With these change I am able to compile in the max98095 codec support and wm8903 without build errors. Bug 986933 Change-Id: Ia8b2511f54b031eadcad8c74efa88be9288f25fb Signed-off-by: Rhyland Klein <rklein@nvidia.com> Reviewed-on: http://git-master/r/105464 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-06-15arm: tegra: configs: enable CONFIG_TUNOm Prakash Singh
Bug 997101 Signed-off-by: Om Prakash Singh <omp@nvidia.com> Change-Id: I5da0bfe342193d93e021eb9a24aacb09bf38e6a0 Reviewed-on: http://git-master/r/108780 Reviewed-by: Om Prakash Singh <omp@nvidia.com> Tested-by: Om Prakash Singh <omp@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-06-15arm: tegra: usb_phy: disable all interrupt for 2lsBH Hsieh
Disable all interrupts on current CPU while doing 2ls to make sure the 3 us delay being executed precisely bug 944998 Change-Id: I645709ffdd2481a63223272e1b3f7f1f78466236 Reviewed-on: http://git-master/r/108536 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-06-15arm: tegra: xmm: removing L3 state transitionVinayak Pane
Remove L3 state from xmm power driver. New usb phy code allows pm state transition L0->L2 and L2->L0. When the system goes in LP0/LP1 suspend then the modem power state is kept at L2 and bus state in suspend controlled by PMC. At system resume the hsic bus is given back to USB. Bug 991709 Change-Id: Ib3b74d7da30a5103eddd747726ac7c4423472c76 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/108076 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-06-15usb: serial: baseband_usb_chr kernel panicpyu
Two threads race for two resources when baseband_usb_close() get called from a user process Bug 988188 Change-Id: Ic962640b6414e576d34b7ff6870b21b644837434 Signed-off-by: pyu <pyu@nvidia.com> Reviewed-on: http://git-master/r/107088 GVS: Gerrit_Virtual_Submit Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-06-15arm: tegra: configs: enable CFG80211Om Prakash Singh
Bug 999876 Change-Id: I174d6d7495454f4b28f0315513d6f703743f832d Signed-off-by: Om Prakash Singh <omp@nvidia.com>
2012-06-15arm: tegra: configs: enable DHD_ENABLE_P2POm Prakash Singh
Bug 999876 Change-Id: I174d6d7495454f4b28f0315513d6f703743f832d Signed-off-by: Om Prakash Singh <omp@nvidia.com>
2012-06-15net: wireless: bcmdhd: fix Makefile and KconfigOm Prakash Singh
Bug 999876 Change-Id: I83a139e6c0dd42cf095fa2ac1376732075a15434
2012-06-15cfg80211: fix a crash in nl80211_send_stationFelix Fietkau
mac80211 leaves sinfo->assoc_req_ies uninitialized, causing a random pointer memory access in nl80211_send_station. Instead of checking if the pointer is null, use sinfo->filled, like the rest of the fields. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-06-15net: wireless: bcmdhd: Fix P2P driver crash for MFG firmwareLeslie Yu
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Make responce waiting uninterruptibleDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix WPS PBC overlap failureNeeraj Kumar Garg
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Ignore signal_pending() while waiting in IOCTLDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Check return value from dhd_dev_init_ioctl()Dmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix WARN_ON(!res->pub.channel)Dmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Change singal pending return value from -110 to -4Dmitry Shmidt
- ETIMEDOUT is interpreted as FW is not responding, so return EINTR instead Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix filtering setting in case of P2PDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Avoid turning radio UP twice on startDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Set MMC_PM_KEEP_POWER flag on suspendDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.61Dmitry Shmidt
- Deauth frame from p2p GO to client doesn't go from firmware if we do del_virtual_iface immediately. Putting a delay after sending deauth frame to allowed FW to send out deauth frame. - IF_DEL operation was timing out due to wrong status check. Fixed it and added few debug prints. - Sending Provision Discovery directly to GO instead of doing an internal scan. Also put the internal scan count to 3 to have better timings for GO-NEG. - Increase beacon timeout only for concurrent mode. For STA only operation, use the default beacon timeout value (4). - If scan abort is due to timeout, aborting the scan in FW is not required. Moreover, as this scan_timeout call is coming in timer interrupt context, all blocking calls such as fw scan abort will result in kernel panic : don’t call abort in Firmware. - Add p2p_cancel_listen routine. Fix p2p_listen_complete related kernel crash seen while turning off WiFi. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Turn OFF wlan power if interface UP failsDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Allow 80211_HT capabilityDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix improper band handlingDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to version 5.90.195.53Dmitry Shmidt
- Add retry to wl_cfg80211_mgmt_tx() for P2P - Change singal pending return value from -512 to -110 - Minor cleaning Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Move FW hang processign to work queueDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix FW hang recoveryDmitry Shmidt
- Reduce IOCTL responce timeout to 2 sec (from 20) - Fix pending status in case of timeout - Pass error code from dhd_is_associated() call - Call cfg80211_disconnected() if no timeout detected Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix frame sequence lag issueAndrey Smolnikov
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix crash in dhd_preinit_ioctls() band setDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add CONFIG_DHD_ENABLE_P2P Kconfig optionDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Turn off DHD_USE_EARLYSUSPEND optionDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.46Dmitry Shmidt
- Fix WEXT compilation - Start SoftAP in G-band only - Fix IF_DEL timeout due to wrong status check - Fix P2P to pass certification - Enable arpoe in concurrent mode by default - Fail to start sched scan in P2P GO Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add 'wlan_ctrl_wake' wakelockDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Set probe_resp.timestamp value to scan resultsDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add constant mDNS filterDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add WL_CFG80211_STA_EVENT config optionDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.195.35Dmitry Shmidt
- Add SoftAP auto-channel support - P2P fixes Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix mac setting from platform hookDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix crash on timeout in wl_notify_escan_completeDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add sched-scan config optionDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Allow Improved suspend/resume processing on 2.6.39Dmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Always turn Off wlan power on interface downDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add SETSUSPENDMODE commandDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Minor cleaningDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add SET_RANDOM_MAC_SOFTAP optionDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>