summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2014-05-23net: wireless: bcmdhd: remove CUSTOM_GLOM_SETTINGManikanta
Remove CUSTOM_GLOM_SETTING from Makefile, this allows firmware to set default glomming algortihm. This improves tcp tx throughput. bug 200003229 Change-Id: Ib92e267fd10ce13af455b100c8cda4d2af8420d9 Signed-off-by: Manikanta <mmaddireddy@nvidia.com> Reviewed-on: http://git-master/r/408715 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-23input: misc: Fix LPA mode on MPU65xxErik Lilliebjerg
bug 1479946 Change-Id: I07d0b44568ac9670453ff056de0fa0f43e0fbf7b Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/403776 (cherry picked from commit 8767fa3db0b362519462de1e4080b82459f2a9e4) Reviewed-on: http://git-master/r/408122 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jordan Nien <jnien@nvidia.com> Tested-by: Jordan Nien <jnien@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2014-05-23net: wireless: use CONFIG_BCMDHD_HW_OOB to enable HW_OOB and OOB_INTR_ONLYSeshagir.H
Enable HW_OOB and OOB_INTR_ONLY when CONFIG_BCMDHD_HW_OOB is set, else enable SDIO_ISR_THREAD bug 200001046 Change-Id: Icd72c7ffe8bdcfe5b7b15139153ec117c86f2569 Signed-off-by: Seshagir.H <sholi@nvidia.com> Reviewed-on: http://git-master/r/403380 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> (cherry picked from commit c8fd6f8c298dc8a2f6045df6220d0c0838b0a6b9) Reviewed-on: http://git-master/r/404240 Reviewed-by: Phoenix Jung <pjung@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2014-05-23video: tegra: host: add lock for ch openShridhar Rasal
There is race in channel open/release call, to avoid that add channel lock in channel ops callbacks. Bug 1503232 Change-Id: I7c27d43f55af7cf88cd8c9027897d57790481bcd (cherry picked from commit ea59410b46e0553196201091857ed33d93049e2d) Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Change-Id: I52a6109270efb87449bde5f4b5e5d38c5f8e5c31 Reviewed-on: http://git-master/r/412526 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-23video: tegra: host: return -EBUSY if exclusiveShridhar Rasal
- For channel open request if device set for exclusive channel access then return busy error. - change signature of nvhost_channel_map to include error and channel handle both. Bug 1259844 Change-Id: I4a02bd54037edf8b665c11e31adc30eaed491b76 (cherry picked from commit 9764fcf23c07800418c99e1f2cd2137cf473d29d) Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Change-Id: Ice844b0c0c0d1549e033c57a1915a5187c5d6972 Reviewed-on: http://git-master/r/412525 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-23video: tegra: host: free host managed syncptsDeepak Nibade
when all of the channels of a particular device are unmapped we can free all the host managed syncpts assigned to that device Bug 1305024 Change-Id: Icc1a416067aa5a6a8bd335ef05b7de8bf2b0b595 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/398326 (cherry picked from commit fb3ab7b7db68aaef37806038b77df93fa364d5e3) Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Change-Id: Ie9bf3039b5ee2e57591684aa8d97328158673d67 Reviewed-on: http://git-master/r/412524 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-23video: tegra: host: device init for channel mapShridhar Rasal
Initialize device on first channel map and ignore on subsequent channel mapping for same device. Also check for device init failure after init call. Bug 1259844 Change-Id: I570967bc60af8e467443aa7bbfaf726bf20da45a (cherry picked from commit 70bf6df9f62956e4b75ad5c3ad1279ec2a7b1167) Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Change-Id: I43293f603bc8c1a296675e20490d1b8c33b3ee40 Reviewed-on: http://git-master/r/412523 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-23iio: meter: ina230: change permissions of ui_inputTimo Alho
Change permissions of ui_input to read only by user and group. Bug 1513829 Change-Id: I0b651ac75bbb5445a286882e8973b2fc05156dec Signed-off-by: Timo Alho <talho@nvidia.com> Reviewed-on: http://git-master/r/411363 (cherry picked from commit cf112731854b96393468c05e8c953a09f840903f) Reviewed-on: http://git-master/r/412036 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2014-05-21gpu: nvgpu: Disable pm runtime on shutdownArto Merilainen
In some cases the gpu has still work pending while the device is being suspended. This patch forces pm runtime to be disabled for the device to avoid powering up the gpu unnecessarily. Bug 1515437 Change-Id: I4b57d72eb34e794f0457d7a074d26c9d096a13b3 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/411968 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-21video: tegra: host: set default state for client managed syncptDeepak Nibade
When we free a client managed syncpt we need to set its min = max since this id can be next time given to any client and new client should get the syncpt with min == max Bug 1482249 Bug 1305024 Change-Id: I17c0dfdab48c4155e81f5786f4afd4e00e346d11 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/402920 (cherry picked from commit 07605883fc36f1d0727a987f3941d5ffc674854e) Reviewed-on: http://git-master/r/411889 Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-21gpu: nvgpu: fix pte memory leakKirill Artamonov
Force cleanup of all GMMU PTEs when releasing vm. bug 1514178 Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com> Change-Id: Ice1ff837ca4decbdec2d4a78ea5eb64bfeefc0db Reviewed-on: http://git-master/r/411198 (cherry picked from commit e14ee5646554fd6cd812f4e7edf220c40116d722) Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/411895 Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Tested-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
2014-05-20video: tegra: host: balance pm_runtime callsShridhar Rasal
pm_runtime_get_sync increments usage count first and then carry out actual resume operation. if pm_runtime_get_sync failed needs to decrement usage count to balance count. Bug 1459733 Change-Id: I844c59310b992c7cac12b134c772f30857c5dec3 (cherry picked from commit b5938d3bfd78a2ddf0cb759787bf54e653842e96) Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Change-Id: Ia875d8835e11760876fe6460ee427ba600361f7b Reviewed-on: http://git-master/r/411524 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-20gpu: nvgpu: Balance usage count on resume failTerje Bergstrom
If PM runtime resume fails, pm_runtime_get_sync() still increments the usage count. Balance the usage count by decrementing it on fail. Bug 200003289 Change-Id: I127d2697ff2601d4884a4ecfdec8ad50894bf7d0 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/411285 (cherry picked from commit 736846ff999bb9d1ca3340fc02ab49f8c65c4145) Reviewed-on: http://git-master/r/411473 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2014-05-20video: tegra: dsi: check if dsi controller is enabled.Prafull Suryawanshi
While trying to cat the debug related file write_data, when display is off, we see timeout as dsi controller disabled. So add check for it. bug 1508535 Change-Id: I4ed4812d90cdd6413d593fcbc519660bb17d60c4 Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com> (cherry picked from commit 3e376a34102380e562fc517bdc1ed284bce20d97) Reviewed-on: http://git-master/r/406762 Reviewed-on: http://git-master/r/411326 Reviewed-by: Mitch Luban <mluban@nvidia.com>
2014-05-20ata: Skip ahci dump call if module probe not ivoked.Prafull Suryawanshi
Bug 1508535 Change-Id: I208ce8765d86d8f35b1f9c6fc9519c159de5522a Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com> (cherry picked from commit 1ce382c5f334408da85ba314e46a999a3aa420a7) Reviewed-on: http://git-master/r/405845 Reviewed-on: http://git-master/r/411325 Reviewed-by: Mitch Luban <mluban@nvidia.com>
2014-05-20mmc: tegra: Issue data reset before cmd resetNaveen Kumar Arepalli
Reset Data lines just before cmd line reset. Bug 1478949 Bug 1437140 Reviewed-on: http://git-master/r/387439 (cherry picked from commit a86596118aef274ee378cd0884948b6d7fe039f5) Change-Id: I58244d005e6f44eaee5b1b1e264f2f6cccb35054 Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-on: http://git-master/r/411302 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2014-05-20media: tegra: nvavp: Handle runtime race conditionJitendra Kumar
Protect nvavp_runtime_get with lock to prevent race condition. Bug 1487327 Signed-off-by: Jitendra Kumar <jitendrak@nvidia.com> Change-Id: I8c21bc6378457c630516d1c0d18a659f1f61d857 Reviewed-on: http://git-master/r/408839 (cherry picked from commit 3918d6cb9faf4b2aba64cd3d1046f4f94b488606) Reviewed-on: http://git-master/r/411168 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mitch Luban <mluban@nvidia.com>
2014-05-20mmc: core: add null pointer check before dumping info.Prafull Suryawanshi
While trying to dump all sdmmc files debug data, on TN8, card is not present on few sdmmc controllers resulting in null pointer access. This change fixes this by adding check. bug 1508535 Change-Id: I4ce6ff7b95b81e53684aed2602f932d6214f1221 Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com> (cherry picked from commit 6a17f1ac0f24e6d9e2218d4ea3f32db784ffd1e5) Reviewed-on: http://git-master/r/406766 Tested-by: Mitch Luban <mluban@nvidia.com> Reviewed-on: http://git-master/r/410175 Reviewed-by: Mitch Luban <mluban@nvidia.com>
2014-05-20staging: iio: adc: palmas: Fix a wrong returnpchiang
Fix a wrong return from palmas_gpadc_start_convertion Bug 1512199 Change-Id: I7be181554288719550786b568088b1390fcce0c3 Signed-off-by: pchiang <pchiang@nvidia.com> Reviewed-on: http://git-master/r/408117 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-20video: tegra: dc: Powergate DC during probeChao Xu
DISA is unpowergated by BL during boot phase. Add an extra powergate to balance the ref_count. Bug 1487697 Change-Id: I84bcf2abcade72bfc7474f1c469a2d6448d31aa2 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/394945 Reviewed-on: http://git-master/r/406025 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-20video: tegra: host: Skip IOVA gap in Tsec carveout mappingSami Kiminki
When mapping Tsec carveout to IOVA space, do not add IOVA gap page at the end. Otherwise, if there is another carveout already mapped that starts right after the Tsec carveout, the first page of it will be incorrectly mapped to the IOVA gap page. Bug 1499804 Change-Id: I3f8d9fc8efb26c2f6300a2802dae5ab139d1e5a4 Signed-off-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-on: http://git-master/r/410932 (cherry picked from commit 49d0f367e08ede216c69f58ef5dd5bdf7595bf8b) Reviewed-on: http://git-master/r/411472 GVS: Gerrit_Virtual_Submit Tested-by: Vandana Salve <vsalve@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2014-05-20iio: meter: ina230: add reading for simultaneous U&ITimo Alho
Add ui_input node to allow simultaneously reading current and voltage from one triggered conversion cycle. Reading from this node will force the INA to operate on triggered mode for the duration of the conversion. Bug 1513829 Change-Id: I779e0d88340bc68bd161ddd00423be941559d5df Signed-off-by: Timo Alho <talho@nvidia.com> Reviewed-on: http://git-master/r/410119 (cherry picked from commit 52a570a11902ba9aac1fee4bbf8789c994f82dae) Reviewed-on: http://git-master/r/410145 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2014-05-20usb: phy: tegra: Add usb_phy_reset for HSICBH Hsieh
usb_phy_reset was missing from uhsic_phy_ops hence USB_TXFILLTUNING kept incorrect value after ehci_reset then resulted in DataBufferErr on out endpoint Bug 200002033 Change-Id: Id8ac624174b5bdca740925092fff7c26481ef46e Signed-off-by: BH Hsieh <bhsieh@nvidia.com> Reviewed-on: http://git-master/r/406720 (cherry picked from commit f2884247f7557593c8b7fd4fa6a7fa5297c69b58) Reviewed-on: http://git-master/r/409973 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-05-20video: tegra: host: Fix race in timeoutArto Merilainen
Timeout handler locks a single cdma mutex. However, as part of debug dump we need to take a lock also all other cdma locks. If we concurrently execute two timeout handlers for two different channels, mutex locking ordering is not same and therefore we risk getting deadlock. This patch adds global timeout handler mutex to ensure that only a single timeout handler is active at a time. This ensures that - despite differing ordering - two handlers are not able to race. Change-Id: I64b203478c175afa36f396d4dc4b3838130974cb Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/409599 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2014-05-20video: tegra: host: Reorder job completionArto Merilainen
Job completion currently first turns off the hardware and then checks which jobs were completed . This is vulnerable as we cannot turn off the hardware until jobs have been completed. This ordering was introduced to avoid race between channel release and devfreq callbacks. At the time the ordering was selected, it worked correctly as we were not relying on runtime pm and therefore we did not start power down sequence at that point. However, with runtime pm we may start powering down the device at this point. As we no longer have the race for scaling (it does not use .deinit()/.init() callbacks) it is safe to reorder this sequence back to the original form. Bug 200002762 Change-Id: Ida6022b6878d2fa7868ac3369a95240f895fb2ac Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/409598 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2014-05-20video: tegra: host: gk20a: add class perf settingsRandy Spurlock
Add a place to edit context-switched perf settings based upon class. Disable tex-lock as the first of such for compute. Bug 1409041 Change-Id: I5317a2a2e5f855661a1400b42f69211d16ae0c1d Signed-off-by: Randy Spurlock <rspurlock@nvidia.com> Reviewed-on: http://git-master/r/405908 (cherry picked from commit 250e149be35ecb8893dcef053ec44ffea86c302a) Reviewed-on: http://git-master/r/407094 (cherry picked from commit 54337c08cbf6c2c6b5c929c1be24e87165d9d946) Reviewed-on: http://git-master/r/408837 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2014-05-20HID: hidraw: close underlying device at removal of last readerManoj Chourasia
Even though device exist bit is set the underlying HW device should be closed when the last reader of the device is closed i.e. open count drops to zero. bug 1307434 bug 200004331 Change-Id: Ibdbf0cac829135b8bf1c462197f3a24a69cd69e1 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/376328 (cherry picked from commit c2dadc835dab7a3e05810ec8e666b195f3df8e08) Reviewed-on: http://git-master/r/408781 GVS: Gerrit_Virtual_Submit Reviewed-by: Mark Kuo <mkuo@nvidia.com> Tested-by: Mark Kuo <mkuo@nvidia.com> Reviewed-by: BH Hsieh <bhsieh@nvidia.com> Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2014-05-19gpu: nvgpu: gk20a: add fecs error intr handlerDeepak Nibade
Add handler gk20a_gr_handle_fecs_error() in case we have pending fecs error interrupt And clear this interrupt after handling. Also, in gk20a_gr_handle_fecs_error(), for now just print the contents of NV_PGRAPH_FECS_INTR and clear it Bug 1495957 Change-Id: Ie7f70c84ec76ab698141646cd683584c4501e3e0 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/402874 (cherry picked from commit a29f219c57d65a06f6dae8086f19fa1af94d95bd) Reviewed-on: http://git-master/r/403587 (cherry picked from commit e65ebebd0d4d5c3dbb6fa454dd51c383ea13d715) Reviewed-on: http://git-master/r/411160 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-19gpu: nvgpu: gk20a: add fecs intr h/w headersDeepak Nibade
add below hardware headers for fecs error interrupt : gr_fecs_intr_r() gr_intr_fecs_error_reset_f() gr_intr_fecs_error_pending_f() Bug 1495957 Change-Id: I0c1d606ae766f1e6badbbaa1288bb08a37bff842 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/402873 (cherry picked from commit 00ce5e538dc6669bfaeb9f81b8506b3ae8472faf) Reviewed-on: http://git-master/r/403586 (cherry picked from commit 2476df761199187ac53ba668603cf1917d455626) Reviewed-on: http://git-master/r/411159 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-19staging: iio: light: ltr659: remove suspend resumeSri Krishna chowdary
ltr659 resume callback waits for 600 msec as ltr558 needed power on delay. This affects device resume time as all devices use same thread to resume. Removing the delay for ltr659 could resolve this issue, but since Sensorservice takes care of enabling/disabling the sensor device as required, suspend/resume remain a overhead anyway. So, remove them. Bug 200002359 Change-Id: Ib847cc015ae3169c45c25d252588e9439da9b1d3 Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/408755 (cherry picked from commit fb566c5ae4dd161db35463683b0fdefab04032c1) Reviewed-on: http://git-master/r/410748 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-19video: tegra: host: deinit cdma at channel_unmap()Deepak Nibade
during channel_unmap() when channel refcount is zero, stop the cdma and call its deinit() to free the memory resource allocated at pushbuffer_init() Bug 1504624 Change-Id: I851e3eb1c9041a812bf298740a7798be15c872f6 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/405735 (cherry picked from commit fc1cd0354f49451829368015792885c1975670f5) Reviewed-on: http://git-master/r/410688 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-19input: touch: raydium: code drop V73.8Xiaohui Tao
Add T132 touch support for TN8 Bug 200004659 Change-Id: Id6c36db22e9376dd0ce8055c3aeaa25e56c9c0fe Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/410383 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
2014-05-19usb: gadget: tegra: Reset charger connect_typeRohith Seelaboyina
To update the charging icon quickly, initially connect_type is set to NON_STD and then QC2/DCP eventually. Because of this extcon is getting notified twice and to prevent this we need to reset the connect_type to none. Bug 200002489 Change-Id: I083e446288c7e3b540f3c721684b2b6d8353de1f Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com> Reviewed-on: http://git-master/r/406438 (cherry picked from commit 52ef1336fdf8e5aa3c7c4062c960fd1d1e766038) Reviewed-on: http://git-master/r/409577 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2014-05-19usb: gadget: tegra: Update extcon state properlyRohith Seelaboyina
If USB cable is disconnected when the device is in LP0, after resuming current limit is set to 0 and accordingly extcon state must be updated with which charger icon also gets updated. Bug 1502977 Change-Id: I171df607d3190191cf821a5b03f93d52cfa25e93 Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com> Reviewed-on: http://git-master/r/406423 (cherry picked from commit 370c32eae5d11419bb48f6ce2f6d8a37a7d7b8b6) Reviewed-on: http://git-master/r/409576 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-05-19iio: light: jsa1127: rm warning while shutdownLouis Li
Modified the implementation according to Sri's comments, the previous one is http://git-master/r/385968 1. removed shutdowm callback 2. unregister device before destroying workqueue 3. enable regulator before registering device Bug 1469053 Change-Id: I39af182acacec8e4f62e1f4d2a3cf8210ee419c5 Signed-off-by: Louis Li <louli@nvidia.com> Reviewed-on: http://git-master/r/408589 (cherry picked from commit d20b9aa96306d7019096a6f14b21c21c5f27f66d) Reviewed-on: http://git-master/r/408581 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-16cfboost: initialize boost values to 0Donghan Ryu
boost_freq, boost_emc and boost_cpus should be 0 initially if these parameters are not set. Bug 1385013 Change-Id: I39a6e1f216eb109915ec0f9bc2cb9f2456fdcaef Reviewed-on: http://git-master/r/406475 Signed-off-by: Donghan Ryu <dryu@nvidia.com> Reviewed-on: http://git-master/r/409700 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-16cfboost: add boost_cpusDonghan Ryu
cfboost might want to change the number of min online cpus. This change adds a new nodes for that. Bug 1385013 Change-Id: I69aaa1eb93298f3c8413a77ca5cb2fbe39bb345c Reviewed-on: http://git-master/r/404690 Signed-off-by: Donghan Ryu <dryu@nvidia.com> Reviewed-on: http://git-master/r/409699 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-16cpufreq: remove race while accessing cur_policyBibek Basu
While accessing cur_policy during executing events CPUFREQ_GOV_START, CPUFREQ_GOV_STOP, CPUFREQ_GOV_LIMITS same mutex lock is not taken, dbs_data->mutex, which leads to race and data corruption while running continious suspend resume test. Bug 1455519 Change-Id: I6b385578c791648681746b749d33f671d00154f3 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/407589 (cherry picked from commit 893243039ee4785099603dac1f3221311e3c219f) Reviewed-on: http://git-master/r/409204 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-05-16video: tegra: save dcext windows upon blankMichael Frydrych
Save all enabled dcext windows when executing FB_BLANK_NORMAL and restore the windows in subsequent execution of FB_BLANK_UNBLANK. bug 1496024 bug 1495342 Change-Id: I06448f56de24f449098eb2c324b1cefb6b3623ff Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-on: http://git-master/r/403699 (cherry picked from commit 24d34822c54e27594f5631628e2402ca67040a9a) Reviewed-on: http://git-master/r/407488 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2014-05-16input: cfboost: Add EMC boostLi Li
Change-Id: Id9b7ea216b8c93e291cc95d7522ba21d15701eeb Reviewed-on: http://git-master/r/397838 Signed-off-by: Donghan Ryu <dryu@nvidia.com> Reviewed-on: http://git-master/r/402485 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-15gpu: nvgpu: fix memory leak in regops ioctlKevin Huang
Bug 200003921 Change-Id: Iebaca62793201ae86ce5f2cf4af3fc870a2aa3a6 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/408415 (cherry picked from commit 7d8fd07a26e33ba53a71dae475dc1074d52767a8) Signed-off-by: Hridya <hvalsaraju@nvidia.com> Reviewed-on: http://git-master/r/409832 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alka Mohite <amohite@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Tested-by: Deepak Nibade <dnibade@nvidia.com>
2014-05-15video: tegra: host: no throughput-hint on gk20aIlan Aelion
Disable the throughput-hint path on gk20a. Leaving enabled on VIC due to Bug 1486309. Bug 1492048 Change-Id: I4dab07c15cbbbad679f532e98f7aef03b74aefe2 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/391032 (cherry picked from commit 99a3eee93c338289f25356c2e91572bbac9618a5) Reviewed-on: http://git-master/r/396633 (cherry picked from commit 22c8c95c9548edde5fc97b115221d74262d0b216) Reviewed-on: http://git-master/r/408940 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Samuel Russell <samuelr@nvidia.com> Tested-by: Samuel Russell <samuelr@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-05-15gpu: nvgpu: Ignore lbreq interruptTerje Bergstrom
Even though we mask LBREQ interrupt, hardware will still indicate it in PBDMA interrupt register. Stop treating LBREQ as fatal. Bug 1498688 Change-Id: Iec4c199437c50951ed9289cb85faf0008646d5c0 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/408763 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-15cfboost: Boost on MSC_ACTIVITY and any ABSBrian Harris
Modifies cfboost to trigger on EV_MSC=MSC_ACTIVITY and any EV_ABS. Also added a timeout between boosts equal to half the boost duration since it will be getting a lot more events now. This makes cfboost more resilient to touch driver changes. Bug 1509022 Change-Id: I734cdce22b6a1f65466924a92768c2afd4992960 Reviewed-on: http://git-master/r/404285 Reviewed-on: http://git-master/r/404023 Signed-off-by: Donghan Ryu <dryu@nvidia.com> Reviewed-on: http://git-master/r/406498 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-14drivers: cpuidle: add cpuidle trace evnetAlex Van Brunt
Add a trace event to the cpuidle menu governer that reports when the CPU enters idle and how long it expect to be idle. This can be used to account for the idle time and track the accuracy of the menu governors idle residency predictions. Change-Id: I37048f05be41590afd0091294002b8f8a42c566c Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407690 GVS: Gerrit_Virtual_Submit
2014-05-14drivers: irqchip: gic: add IPI trace eventsAlex Van Brunt
Add enter and exit trace events for IPI. This makes it possible to account for hte time in IPI handlers using trace logs. Change-Id: Ied5d840beca6dfe9ad65ed21ebf77333fbd17e00 Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407688 GVS: Gerrit_Virtual_Submit
2014-05-14input: gpio-keys: change wakeup_key's init valueLouis Li
KEY_RESERVED is 0 and the keycode of "Hall Effect Sensor" is also 0. This causes POWER_KEY_DOWN event to be reported twice while resuming from LP0 by pressing power key. Bug 1489955 Change-Id: Ib583f92155f785618430a3b1ed75eb28015ba977 Reviewed-on: http://git-master/r/389703 (cherry picked from commit 8ed070220e154fb46fd8bd378915a326cf29db42) Signed-off-by: Louis Li <louli@nvidia.com> Reviewed-on: http://git-master/r/408583 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-05-14usb: gadget: add compat_ioctl handlerRakesh Bodla
Add compat_ioctl for accessory and fs to work on 64 bit platforms. Bug 1505458 Change-Id: Ic5fa65451fa6428d50de2307136a59b13bd691cb Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/408014 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-05-14iio: core: add protection to avoid race conditionLouis Li
Kernel panic at iio_read_channel_info during boot stress. It is supposed that iio_dev has been released while sensor service is reading sysfile. So add a protection here to avoid race condition. Bug 1501090 Change-Id: I24da6245f4473fdcc2e8e7bf9673fbd25c350820 Reviewed-on: http://git-master/r/398726 (cherry picked from commit 75155b5e80369feafc612a8c0f1ec44ed84dee10) Signed-off-by: Louis Li <louli@nvidia.com> Reviewed-on: http://git-master/r/408580 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-05-14input:touchscreen: raydium: update to 63.7Vincent Chen
63.7 changelist: 1. Fixed “Drawing Shot strokes suddenly moves towards the edges”. 2. Fixed “Ghost touch detected if put screen on desk”. 3. Fixed “Line broken if draw line outside in by stylus”. 4. Solved the multiple interrupt in rm_work_handler. 5. Improve stylus performance with palm. 6. Fixed the issue of touch no response after selftest. Please update selftest to this version. 7. change report to 250Hz in SPI 18M Change-Id: I5f55d54efde9adbc064c89d19be37876aeff447e Signed-off-by: Vincent Chen <zochen@nvidia.com> Reviewed-on: http://git-master/r/406669 (cherry picked from commit 2102dc1f143556333d01057807b0d87c7b3a2754) Reviewed-on: http://git-master/r/408006 Reviewed-by: Alex Chen <alchen@nvidia.com> Tested-by: Alex Chen <alchen@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com>