]>
rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/log
Todd Poynter [Tue, 9 Sep 2014 22:24:30 +0000 (15:24 -0700)]
Revert "staging: iio: light: iqsxx: Add sysfs for SAR tool"
Bug
1538707
This reverts commit
4d1e4041479279f58ea4e5c7ef06f6b6eb3ba774 .
Change-Id: Idcce1351c8a440012a6e595054c86498b69616b3
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/497056
Todd Poynter [Tue, 9 Sep 2014 22:25:16 +0000 (15:25 -0700)]
Revert "staging: iio: light: iqs253: tune iqs263"
Bug
1538707
This reverts commit
319916527ec06e4f1ee093ddceb9bd9410fb6e4f .
Change-Id: I64952d00286ad2790db0ea7f4fa8b244e26e0426
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/497057
Todd Poynter [Sat, 6 Sep 2014 18:25:10 +0000 (11:25 -0700)]
Revert "extcon: palmas: remove mutually exclusive property"
This reverts commit
a717679c20944e4109d9823c45cd8769c8871447 .
Bug
200004368
Change-Id: Ib88c7b7ba2edde8d7b11c933d5080823d17a329f
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/496363
Todd Poynter [Sat, 6 Sep 2014 18:24:45 +0000 (11:24 -0700)]
Revert "usb: tegra: increase delay for y-cable detection on tn8"
This reverts commit
7343561b0cb1fa5ee3d4e7d20237d7401281b47d .
Bug
200004368
Change-Id: I4cc39ac715cba5a3b103c82d03c5bf808e926f14
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/496362
Todd Poynter [Sat, 6 Sep 2014 18:23:57 +0000 (11:23 -0700)]
Revert "ARM: Tegra: TN8: add otg as consumer for usb_bat_chg"
This reverts commit
c17d29a2b3c0a12e7249793d0f2eb1080b294577 .
Bug
200004368
Change-Id: I95eb8499909a8ef63d34ff63b49bd411ce976e73
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/496361
Shylender Gaddamwar [Tue, 2 Sep 2014 17:17:37 +0000 (10:17 -0700)]
staging: iio: light: iqs253: tune iqs263
- stability fix to enable motion detection.
- HALTIME set to 1 min.
Change-Id: Ib93512ffec130918068e0f0d28b322bbe60d6d9a
Signed-off-by: Shylender Gaddamwar <sgaddamwar@nvidia.com>
(cherry picked from commit
217999905d5523c7e6695bc9776de7ed49d90254 )
Reviewed-on: http://git-master/r/496128
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Tested-by: Todd Poynter <tpoynter@nvidia.com>
Sri Krishna chowdary [Thu, 7 Aug 2014 09:16:57 +0000 (14:46 +0530)]
staging: iio: light: iqsxx: Add sysfs for SAR tool
Add read only sysfs "name" and "proximity_status" to enable
SAR debug tool query the proximity status.
Bug
1538707
Change-Id: I9260160278aa2716ebb4dff324893f0cfdcfefc8
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
(cherry picked from commit
efeaa73777886c1aa7c4e293ae522036e853b56d )
Reviewed-on: http://git-master/r/496127
Reviewed-by: Shylender Gaddamwar <sgaddamwar@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Tested-by: Todd Poynter <tpoynter@nvidia.com>
Rakesh Babu Bodla [Mon, 1 Sep 2014 15:51:21 +0000 (21:21 +0530)]
ARM: Tegra: TN8: add otg as consumer for usb_bat_chg
Adding otg device to consumer list of usb battery
charging regulator to support Y cable.
Bug
200004368
Change-Id: I99d861f5234a79c2f4ff758aca7750ca8f8de83b
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/494513
(cherry picked from commit
323cee7e9c2b034a8778058d33789cf8340341f4 )
Reviewed-on: http://git-master/r/494686
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Rakesh Babu Bodla [Mon, 25 Aug 2014 10:26:33 +0000 (15:56 +0530)]
usb: tegra: increase delay for y-cable detection on tn8
On TN8 due to palmas pmic h/w limitation takes more time
to notify the id status. Increasing the delay enables
y-cable detection on TN8. Also, for faster
notification of charging icon reordering the sequence
of charging icon notification and setting current.
Bug
200004368
Change-Id: Ia3940d78e1e87a3483064de3fb8e683be22a348d
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/487661
(cherry picked from commit
5f391f0d892e4cabfc093252873cad75426897a8 )
Reviewed-on: http://git-master/r/494685
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Rakesh Babu Bodla [Fri, 22 Aug 2014 10:10:52 +0000 (15:40 +0530)]
extcon: palmas: remove mutually exclusive property
When Y-cable is connected both vbus and id status
should be notified. So, removing mutually
exclusive property for vbus and id cables.
Bug
200004368
Change-Id: I61143b05036ce63a28663df4a1487ae29ee28427
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/487660
(cherry picked from commit
a705c790d3a5fa87d14e29b2c2e908ab23e52852 )
Reviewed-on: http://git-master/r/494684
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
wahsu [Tue, 26 Aug 2014 05:33:07 +0000 (13:33 +0800)]
Revert "ASoc: rt5639: Set audio CODEC IRQ as a wake up pin"
This reverts commit
125d842fbf3f080c6242f283827a11bf5761e0f4 .
dev fails to enter Lp0 due to some buggy codes in kernel.
We have fix for it (http://git-master/r/#/c/487966), but it risky
to OTA 1.1 release. Hence revert it first.
Bug
1545184
Change-Id: Ibaa4a4e35fab2beb2c50935ca8f77061a6f43004
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/488005
Reviewed-by: Rene Houle <rhoule@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
Shital Jaju [Mon, 7 Jul 2014 11:02:11 +0000 (16:32 +0530)]
net: wireless: bcmdhd: Fix PM struck at 0 on AGO
Issue: wlan0 interface power save got disable and
not restored on AGO create and delete within 10sec.
Reason: On AGO creation PM of wlan0 and AGO is disabled
for 10sec to renew the DHCP and this is not restored
properly on AGO remove case.
Solution: Restore the wlan0 power save on AGO delete.
Bug
200016171
Change-Id: I4b255ed5326a01fbd52e6d745e6bec6824279b55
Signed-off-by: Shital Jaju <shital.jaju@broadcom.com>
Reviewed-on: http://git-master/r/434091
(cherry picked from commit
d72e363c0f260d2a2a66cf0f5f56516b855b3b91 )
(cherry picked from commit
f076ee07bfcffddff699d9b5a639351811dc7b45 )
Reviewed-on: http://git-master/r/487434
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Tested-by: Todd Poynter <tpoynter@nvidia.com>
Todd Poynter [Fri, 22 Aug 2014 16:51:55 +0000 (09:51 -0700)]
Revert "bcmdhd: set the correct bw in the firmware"
This reverts commit
2f3e0c33d3a7d4d41d2670cbff3153a522d9bfac .
Bug
200028725
Bug
200025947
Change-Id: I2abd2bed1e71dbab722c87bbe5f0604fcebc7ddf
Signed-off-by: tpoynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/487016
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
Shital Jaju [Fri, 8 Aug 2014 07:04:40 +0000 (12:34 +0530)]
bcmdhd: set the correct bw in the firmware
Due to incorrect bw setting, fw will always start
the MCC for P2P GO if the APs present in the
environment in that channel are all only 20 MHz.
This issue happens only for higher 5GHz passive
channels (149, 153, 157, 161) which are passive
by default.
Bug
200025947
Change-Id: Idf79e9ce60362584a999d8f244f98c10cc170611
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/482473
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Sang-Hun Lee [Tue, 12 Aug 2014 01:21:08 +0000 (18:21 -0700)]
video: tegra: host: initialize vi regulator info
Problem description:
- nvhost_vi_init also specifies which regulator supplies
current to VI
- If this is not called before nvhost_vi_finalize_powerdown,
nvhost_vi_finalize_powerdown will not initialize the required
regulator
- nvhost_vi_init was being called inside nvhost_module_busy.
nvhost_module_busy is ultimately called as the result
of userspace operation in most cases, which is unreliable
- If the userspace ordering changes, nvhost_vi_finalize_powerdown
is called when there is no regulator set against vi
Fix description:
- Call nvhost_vi_init as a part of vi_probe
Bug
200016507
Change-Id: I97c9e1b126a96a91a68a41f77cf6fda514d07dca
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/455305
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Sang-Hun Lee [Fri, 18 Jul 2014 03:39:57 +0000 (23:39 -0400)]
mmc: tegra: unlock mutex before returning
To avoid hanging the entire system, unlock mutex lock before
returning
Bug
1526837
Change-Id: I523b5ad2ea7787ca780163e1e1db91c475c81ce1
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/439706
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Venkat Reddy Talla [Thu, 7 Aug 2014 05:41:48 +0000 (11:11 +0530)]
ARM: tegra: set kernel maximum soc to 99
set maximum soc to 99 to scale FG chip reported soc value 99% to 100%.
some times sudden drop seen from 100% to 99% when charger cable
disconnected.
Bug
200025580
Bug
1445682
Change-Id: Ie7c44dcf5dfbe40e93d17b0dd6785ce06fa2ad74
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/453802
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
wahsu [Mon, 14 Jul 2014 08:55:06 +0000 (16:55 +0800)]
ASoc: rt5639: Set audio CODEC IRQ as a wake up pin
1. Enable wake attribute for audio CODEC IRQ.
2. Disable GPIO interrupt before entering Lp0 for those
GPIOs are not Lp0 wake source.
Bug
200009793
Change-Id: Ie772c3784e652c8d7b2ce0a7e5edcd22f1bba138
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/437644
(cherry picked from commit
238e6a62ff84e57b4f9887f4aef25a5cb6a62974 )
Reviewed-on: http://git-master/r/447470
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>
Rene Houle [Wed, 30 Jul 2014 08:40:18 +0000 (01:40 -0700)]
ALC5639: Combining all Realtek tweaks
Cache sync optimization
Fix for pop on speaker
Class-D Amplifier tuning
Update provided by Realtek
Change-Id: Ic445ecbd7398d03a9b9bc59f46b5d75d921ced77
Signed-off-by: Rene Houle <rhoule@nvidia.com>
Reviewed-on: http://git-master/r/448758
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>
Deepak Nibade [Fri, 25 Jul 2014 07:05:45 +0000 (12:35 +0530)]
misc: tegra-profiler: fix Coverity issue of NULL dereference
Pointer "pt_regs *regs" is first dereferenced and then checked for NULL
To fix this move NULL checking to beginning of function
Coverity id : 26686
Bug
1416640
Change-Id: I40e97e38e5a61a5d77ea68fa511e996f24385cfc
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/447532
(cherry picked from commit
4651be4faa111a0ff64a924889b69ec56ae19ace )
Reviewed-on: http://git-master/r/454484
Reviewed-by: Igor Nabirushkin <inabirushkin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Shu Zhong [Tue, 1 Jul 2014 17:25:57 +0000 (10:25 -0700)]
misc: tegra-profiler: rd_alloc
quadd_unwind_start calls rd_alloc while holding a spinlock.
This is dangerous because rd_alloc allocates memory with
the GFP_KERNEL flag. This fix simply moves rd_alloc outside
the critical section.
Bug
1529894
Change-Id: I284e72d2fdd9089428d75f3c3efb79513a897b7e
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/433264
(cherry picked from commit
e29a862f449b3f1831410162c4360041438017dc )
Reviewed-on: http://git-master/r/454479
Reviewed-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Tue, 24 Jun 2014 13:07:53 +0000 (17:07 +0400)]
misc: tegra-profiler: fix backtraces for 64-bit
* Fix backtraces for 64-bit programs
* Also, allow user to use any frequency in range [100 Hz; 100 kHz]
Bug
1527404
Change-Id: I29495ddd1449e59b354ac00d4112bdf7b9845375
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/427738
(cherry picked from commit
b4f84b60177750214ddac24c63c2f9a08b15ce05 )
Reviewed-on: http://git-master/r/454469
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Tue, 24 Jun 2014 08:18:29 +0000 (12:18 +0400)]
misc: tegra-profiler: add time source option
* Add time source option (CNTVCT or kernel monotonic clock).
* Do not use arch timer if user does not have direct access to
CNTVCT register.
Bug
1508327
Change-Id: I0efc619146c1256ac57120b8646ecd8e819a1315
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/427620
(cherry picked from commit
5e375e6dbca8211bb2af04bd25d5e5d66371aa4f )
Reviewed-on: http://git-master/r/454468
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Thu, 5 Jun 2014 07:57:52 +0000 (11:57 +0400)]
misc: tegra-profiler: mixed backtraces
Unwinding: switch from code with frame pointers to code
with unwind tables.
Bug
1487488
Change-Id: I254a8fd762b5312f854db1fe79635a2b419091f0
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/419384
(cherry picked from commit
79aede1e667170d0479302b6690cdd666d10960e )
Reviewed-on: http://git-master/r/454462
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Thu, 5 Jun 2014 07:08:55 +0000 (11:08 +0400)]
misc: tegra-profiler: add sched samples
Tegra Profiler: capture task starting being scheduled on a core.
Add sched in/out samples.
Bug
1520808
Change-Id: I2c62e5c1918bdba0fc997d79d8aeb3b7b63530f0
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/419352
(cherry picked from commit
662031c6aee9dedb05e4b5cb12aabf3ea001337f )
Reviewed-on: http://git-master/r/454461
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Thu, 5 Jun 2014 05:52:29 +0000 (09:52 +0400)]
misc: tegra-profiler: use cntvct as time source
Tegra Profiler: use Virtual Count register (CNTVCT) as
time source.
Bug
1508327
Change-Id: If37e2dbe0a256ec28575d7c1b7d601d6bc1090f5
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/419305
(cherry picked from commit
2e5fe3f706a404a087e110a9289818dd6c855c15 )
Reviewed-on: http://git-master/r/454458
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Thu, 5 Jun 2014 05:10:47 +0000 (09:10 +0400)]
misc: tegra-profiler: get perfmon extension
Add version of the ARMv8 NVIDIA perfmon extension to
device capabilities.
Bug
1520757
Change-Id: I18d10133272a10e3faf5022b4579c7dfea78791e
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/419274
(cherry picked from commit
1973fe595ad0fc5ec45e65df3c70ffbeaac94e7e )
Reviewed-on: http://git-master/r/454453
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Mon, 19 May 2014 12:49:19 +0000 (16:49 +0400)]
misc: tegra-profiler: fix hang up bug for Norrin
Do not use probe_kernel_address.
Actually, it is not safe on Norrin: this can lead to system crash.
Bug
200005974
Bug
1522252
Change-Id: If8bae9afd7c7e1bbb5beaf430c0c61f552aeb036
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/411507
(cherry picked from commit
6c6b72dcf09a127d05082bab65b172a77bb56f45 )
Reviewed-on: http://git-master/r/454452
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Fri, 16 May 2014 08:49:15 +0000 (12:49 +0400)]
misc: tegra-profiler: add unwind information
Tegra Profiler: add additional unwind information
for each call entry.
Bug
1514626
Change-Id: I2873941a4c903e0e7e909897ead55eb34d80b966
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/410770
(cherry picked from commit
c240aead0cc500c3bd8ef668d93e7b44acd3310c )
Reviewed-on: http://git-master/r/454451
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Fri, 16 May 2014 08:05:36 +0000 (12:05 +0400)]
misc: tegra-profiler: fixed recursive call chains
In some cases, recursive call chains can be broken.
This patch fixes this problem.
Bug
200005395
Change-Id: I7d31ec64b004109c3684cf0d143d9b1d6cd59f9f
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/410745
(cherry picked from commit
0f2d2d582d5907a51a2f32e9d1c0fa50b9f59601 )
Reviewed-on: http://git-master/r/454449
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Fri, 16 May 2014 07:24:50 +0000 (11:24 +0400)]
misc: tegra-profiler: support too deep stack level
Too deep stack level: handle it properly.
Appropriate unwind reason code has been added.
Unwinding based on frame pointers: add unwind reason codes.
Bug
200005380
Change-Id: I2199df90c746ada6a7f224a8b675638b69dc6da8
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/410717
(cherry picked from commit
e96cd9adf0ca020c55545925168671373a67a009 )
Reviewed-on: http://git-master/r/454446
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Fri, 16 May 2014 06:44:06 +0000 (10:44 +0400)]
misc: tegra-profiler: fix setup bug
* Fix bug that happens when using non-standard profiling frequencies
* Allow root user to use any frequency in range [100 Hz; 100 kHz]
Bug
200005366
Change-Id: I9a07e2c9c1fec6d61f34009d1975ea7f5d0e2592
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/410705
(cherry picked from commit
baa22c2e4e7b1f676fec2456907c8f8ce43c6c03 )
Reviewed-on: http://git-master/r/454443
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Deepak Nibade [Mon, 19 May 2014 10:18:02 +0000 (15:48 +0530)]
misc: tegra-profiler: fix resource leaks
Fix Coverity issue of resource leaks
Coverity id : 26481
Coverity id : 26483
Bug
1416640
Change-Id: Ib71950f196b5421ccbc21b3ac8d620e790e83366
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/411421
(cherry picked from commit
4449c4508c2619f2e21c2965c97605d69284ab0c )
Reviewed-on: http://git-master/r/454441
Reviewed-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Tue, 6 May 2014 05:47:02 +0000 (09:47 +0400)]
tegra-profiler: add access to the exception tables
Tegra Profiler: add access to the exception tables via mmap areas.
Do not read directly from the user space.
Bug
200002243
Change-Id: I442daaecb11fd4416b3e485722efdf34234e0241
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/405671
(cherry picked from commit
eb721f5af416f14aacf5589c4403c7b6a0b0b5fb )
Reviewed-on: http://git-master/r/454440
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Igor Nabirushkin [Thu, 17 Apr 2014 09:02:07 +0000 (13:02 +0400)]
misc: tegra-profiler: unwinding: use RCU locking
Unwinding: use RCU locking instead of spinlocks to protect
map of regions.
Bug
1502205
Change-Id: If1089b74b1f317eeaae5059de40d7a3365ae4061
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/397599
(cherry picked from commit
3504dc62f0aad25ad5c50f46c6c3319b95775966 )
Reviewed-on: http://git-master/r/454437
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
kraghavender [Mon, 11 Aug 2014 11:39:02 +0000 (17:09 +0530)]
net:wireless:bcmdhd: set rpt_hitxrate
Set the rpt_hitxrate to 1 so that link speed updated by WLC_GET_RATE
is the maximum transmit rate
rpt_hitxrate 0 : Here the rate reported is the most used rate in the
link.
rpt_hitxrate 1 : Here the rate reported is the highest used rate in the
link.
Otherwise linkspeed updated in the GUI is 802.11 NULL frame data rate
which is 24 Mbps.
Bug
200027022
Change-Id: I0c69b635d0b68c06f38297f39070cc5da04e478b
Signed-off-by: Raghu <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/455067
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Venkat Reddy Talla [Mon, 4 Aug 2014 14:42:20 +0000 (20:12 +0530)]
power: lc709203f:report actual FG read value when BC reports charging done
do not set Battery SOC to 100% when FG reports less than 100% and Battery
charger trigger charging done.
Change-Id: I0a1c70ed4ad0745b4ca074450e52389f6f655b31
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/450986
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Venkat Reddy Talla [Fri, 1 Aug 2014 15:05:14 +0000 (20:35 +0530)]
power: lc709203f:report raw battery soc to framework
do not limit soc to 99 when fuel gauge is reporting
battery soc 100%, if battery reached DONE state with BQ
charger chip done interrupt and cable is disconnected after that,
sudden drop in battery soc is observed.
Change-Id: I9fa47541f791cf9b44fe257e26fa681b8e3dd8a5
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/450372
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
vmali [Wed, 6 Aug 2014 12:21:25 +0000 (17:51 +0530)]
asoc: tegra: sync regcache across suspend-resume
- I2S registers and regcahe lose sync across suspend-resume
- Mark regcache dirty in suspend
- Sync regcache with i2s registers in resume
Bug
200008638
Change-Id: I4b603047f48fa771bd84a5481039760bf433cf35
Signed-off-by: vmali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/453473
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>
Reviewed-by: Rene Houle <rhoule@nvidia.com>
Tested-by: Rene Houle <rhoule@nvidia.com>
GVS: Gerrit_Virtual_Submit
Neil Gabriel [Wed, 11 Jun 2014 22:41:44 +0000 (17:41 -0500)]
ARM: arch_timer: Enable PL0 access to the CNTVCT
Enable usermode access to the generic virtual counter.
Change-Id: Id033d12690d1693e67cf75ce7017fd4a24a18b45
Signed-off-by: Neil Gabriel <ngabriel@nvidia.com>
Reviewed-on: http://git-master/r/422391
(cherry picked from commit
49e21cf475a62c2c6c38f6b2460579834ad62b6b )
Reviewed-on: http://git-master/r/453554
GVS: Gerrit_Virtual_Submit
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Sudeep KarkadaNagesha [Fri, 23 Aug 2013 14:53:15 +0000 (15:53 +0100)]
drivers: clocksource: add CPU PM notifier for ARM architected timer
Few control settings done in architected timer as part of initialisation
can be lost when CPU enters deeper power states. They need to be
restored when the CPU is (warm)reset again.
This patch adds CPU PM notifiers to save the counter control register
when entering low power modes and restore it when CPU exits low power.
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Change-Id: I0bad683961e4b72835ad40edf2c9ac9e0f78fad0
Reviewed-on: http://git-master/r/350844
(cherry picked from commit
1dd60414e4839c11eb99dbbd071b8accdaa3dafd )
Reviewed-on: http://git-master/r/453553
GVS: Gerrit_Virtual_Submit
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
bibhayr [Fri, 11 Jul 2014 20:30:43 +0000 (13:30 -0700)]
bcmdhd: update cfg layer with active channel list
Update the cfg layer with active channel list after
associating to AP. Currently cfg layer gets updated
only during driver initialization. If some other
channel is passive during that time, it will never
get updated to active. Also, this update should be
done after every scan, but this should take care of
at least to update the AP association channel to be
active so that the p2p GO can be created on the APs
channel. Cfg layer does not check the passive channel
list for wlan0 connection but it checks the passive
channel for p2p GO creations.
Bug
200015567
BuG
200020740
Change-Id: Id42836917ca60aff0ae3a2115d7ee90ba017ee9f
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/436981
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Tested-by: Todd Poynter <tpoynter@nvidia.com>
Om Prakash Singh [Mon, 28 Jul 2014 08:15:03 +0000 (13:45 +0530)]
bcmdhd: null check for wl->p2p
Bug
200024287
Change-Id: Ideb514aeb37250431a6fc4c064c95fbdbe498936
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/448019
GVS: Gerrit_Virtual_Submit
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Sang-Hun Lee [Wed, 30 Jul 2014 00:53:48 +0000 (17:53 -0700)]
bcmdhd: ensure work completion before freeing
Problem description:
- wl_dealloc_netinfo would free allocated wireless_dev structures, which has
work_struct for wdev_cleanup_work
- If there is any job scheduled for wdev_cleanup_work and if it
is scheduled after kfree of its parent struct, the result is undefined
- But simply waiting for wdev_cleanup_work completion in
wl_cfg80211_netdev_notifier_call would result in a dead lock, as wdev_cleanup_work
and cfg80211_event_work both use the same workqueue. cfg80211_event_work
may ultimately call wl_cfg80211_netdev_notifier_call
Fix description:
- Separate the detach of an interface from the deallocation of an interface
- Upon a detach, only remove the interface, and schedule a deallocation of it
Bug
1533639
Change-Id: I865907243ac370ab5932fb1d5ec7ce8c83279baf
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/448637
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Sudhir Vyas [Mon, 24 Mar 2014 15:34:51 +0000 (21:04 +0530)]
video: tegra: host: Register VI isomgr on request
Register VI as isomgr client when the camera user
driver has requested for memory BW requirements.
Currently it is being done in probe only, which
may be unnecessary for the usecases where VI is
not the memory client.
Bug
1485474
Change-Id: I9ae41e299bf0a8ef21ed94d44a57829cf70d11e2
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
(cherry picked from commit
279b41ca6155d3e6b17c09a9418a6e1bbdc57889 )
Reviewed-on: http://git-master/r/449588
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Shih <rshih@nvidia.com>
Tested-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Philip Breczinski [Fri, 25 Jul 2014 23:58:24 +0000 (16:58 -0700)]
ov5693: fix fuse ID read
Add 150us delay to start of fuse ID read to ensure sensor is ready
to communicate.
Bug
200005241
Change-Id: Ie9be9f22419e3c16952bde44ce1e289f48b7bba2
Signed-off-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/447834
(cherry picked from commit
df3e4528e5b2f8f96a658c8b865db1e077105d3d )
Reviewed-on: http://git-master/r/448948
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Schalig <dschalig@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Shylender Gaddamwar [Tue, 8 Jul 2014 21:14:32 +0000 (14:14 -0700)]
staging: iio: light: iqs263: synchronize driver
-support iqs263 read/write.
Change-Id: I47c36978037af6fabedd01b319b1645ce73d095e
Signed-off-by: Shylender Gaddamwar <sgaddamwar@nvidia.com>
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/435874
(cherry picked from commit
ae243d22c899302bba08990598c3c0a13ade0d7b )
Reviewed-on: http://git-master/r/440489
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Sang-Hun Lee [Wed, 16 Jul 2014 04:22:13 +0000 (00:22 -0400)]
ARM: Tegra: TN8: Correct vana mapping
The i2c address of the rear camera sensor has changed
Bug
200016507
Change-Id: I9d6794b2efe81c96286d4ca305731492f9062961
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/438554
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Tested-by: Todd Poynter <tpoynter@nvidia.com>
bibhayr [Fri, 18 Jul 2014 22:23:42 +0000 (15:23 -0700)]
bcmdhd: wait for cfg cleanup before unregistering
If the p2p device is unregistered before the cfg
cleanup work item is scheduled then, the wdev
struct is corrupted and can cause the kernel panic.
wait for the work item to finish before freeing
Bug
1533639
Change-Id: Ib8729a985d2ed14ec062f98a9a8bcebacf90f8fc
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/439979
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Sai Gurrappadi [Fri, 18 Jul 2014 06:46:56 +0000 (23:46 -0700)]
staging: ozwpan: Cancel hrtimer before expiry set
Currently oz_timer_add sets the new expiry time before calling
hrtimer_start_expires where the timer is actually updated in the
timerqueue.
However, this update to expiry time is racy because the the
hrtimer_set_expires call is being performed from a softirq or a thread's
context. The CPU could recieve a hrtimer_interrupt before the
hrtimer_start_expires call but after hrtimer_set_expires.
This would leave the hrtimer with a new expiry value but with the same
position in the rbtree which a subsequent hrtimer_interrupt could use
to perform its timerqueue add/del operations with. Leaving the rbtree
in this stale/bad state causes some timers to never get serviced.
Fix this by first removing the timer from the timerqueue by calling
hrtimer_cancel and then updating the expiry time.
Bug
200016188
Change-Id: Ib8acb9f2977580e077bbe968a32c6deba992d000
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/439729
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Vinayak Pane [Thu, 17 Jul 2014 03:27:23 +0000 (20:27 -0700)]
HID: hidraw: check disconnect before get raw report
Bug
200021849
Change-Id: I4096a25b251a351eeae627a776683adfec7dd197
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/439070
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Timo Alho [Mon, 26 May 2014 13:45:05 +0000 (16:45 +0300)]
media: platform: tegra: ov5693: fix sysedp registration
Register sysedp consumer with actual device name, not with generic
'ov5693' name. This allows more than one device to exists in the
system.
Bug
200007892
Bug
200021368
Change-Id: I2c85f3d1f483afb75df2b16a4d5808fdd8f3d9ad
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/415014
(cherry picked from commit
d0a2342b78cb93ac858932cb2973f87a33417830 )
Reviewed-on: http://git-master/r/438112
Reviewed-by: Steve Rogers <srogers@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Sang-Hun Lee [Fri, 11 Jul 2014 18:05:28 +0000 (14:05 -0400)]
net: wireless: bcmdhd: reduce tasklet priority
In case there is a lot of workload, wifi's bottom half handler can
starve the system critical threads such as the watchdog and CPU workload
monitor triggering a system reboot
Lower the priority of wifi tasklets to match the other bottom half handlers
priority
Bug
1526837
Change-Id: Ie1d592b7d445f22a79a9f0d5e50f61965d695888
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/432423
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Rakesh Bodla [Tue, 15 Jul 2014 15:26:07 +0000 (20:56 +0530)]
usb: gadget: tegra: conditionally update LP0 connect type
After driver resume sometimes connect_type_lp0 is not
set to NONE, due some tasks didn't get scheduled.
In this case retain the value, so that correct
value will be preserved.
Bug
200017175
Change-Id: I8f2400675a8ced063a182c1069c586dfb9cc756f
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/438218
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Rene Houle [Wed, 16 Jul 2014 03:33:24 +0000 (20:33 -0700)]
ALC5639: Remove usage of the one-bit-depop feature.
Bug
200020621
Change-Id: Ib0f81cec748863d4a09b163cc4ff6208e372c59f
Signed-off-by: Rene Houle <rhoule@nvidia.com>
Reviewed-on: http://git-master/r/438476
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
Laxman Dewangan [Thu, 10 Jul 2014 10:44:38 +0000 (16:14 +0530)]
staging: iio: palmas-adc: convert adc conversion to polling based.
Convert ADC conversion to polling from interrupt as the
conversion takes 113us.
bug
1532624
Change-Id: Ieeb2472501ebd3938a047db3faedc25f8cdd90f5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/437037
Sang-Hun Lee [Mon, 14 Jul 2014 00:09:57 +0000 (20:09 -0400)]
power: lc709203f: decouple gauge report from query
battery_gauge_report_battery_soc may call back one of lc709203f functions
If the mutex lock is still held, this sequence will dead lock
Bug
200020663
Change-Id: Ic55c630333ec2a4797510388fa77642b103e1367
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/437549
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Rene Houle [Wed, 2 Jul 2014 01:53:20 +0000 (18:53 -0700)]
alc5639 : Adding Realtek update for reducing pops on jack detection.
Also adding Realtek driver support for their register access tool.
Bug
1529295
Change-Id: I996c95762231adea4ca09e70cd92c8075beee744
Signed-off-by: Rene Houle <rhoule@nvidia.com>
Reviewed-on: http://git-master/r/433415
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>
Robert Shih [Fri, 11 Jul 2014 11:31:45 +0000 (19:31 +0800)]
Revert "bq2419x: dump stack backtrace when WDT expired."
This reverts commit
876d855741d5aa7fce49d79ffb703ad71677e388 .
Change-Id: I92b6e266ff60e1a251e88bce3c6376532b9f7d6c
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/437141
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Srinivas Ramachandran [Fri, 11 Jul 2014 02:34:40 +0000 (19:34 -0700)]
Add driver command MKEEP_ALIVE
Add the driver command MKEEP_ALIVE to send a periodic IP based keep alive
packet from the firmware to avoid deauth from access point due to inactivity.
Bug
1528060
Change-Id: I6836b7d19ed617d216391e318e9cd5b93e1e0724
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: http://git-master/r/436944
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Jinyoung Park [Thu, 10 Jul 2014 14:26:57 +0000 (23:26 +0900)]
staging: iio: adc: palmas: ADC convertion error handling
Added error handling for ADC conversion.
Bug
200019496
Change-Id: I94785687e69596e5e8e0f5a7ad79a85a1766acdf
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/436690
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Rakesh Bodla [Thu, 10 Jul 2014 12:43:55 +0000 (18:13 +0530)]
usb: gadget: tegra: add debug info related extcon
Adding the extcon notification status debug info
in driver.
Bug
200017175
Change-Id: I1a2f0d6d9a8518ed4119a51443174ad802b18b9d
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/436639
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
pchiang [Mon, 12 May 2014 09:52:10 +0000 (17:52 +0800)]
staging: iio: adc: palmas: Fix a wrong return
Fix a wrong return from palmas_gpadc_start_convertion
Bug
1512199
Change-Id: I7be181554288719550786b568088b1390fcce0c3
Signed-off-by: pchiang <pchiang@nvidia.com>
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/408117
(cherry picked from commit
765c9e47862d92320ec06413a0999d16038a2573 )
Reviewed-on: http://git-master/r/436689
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Jinyoung Park [Thu, 26 Jun 2014 00:48:58 +0000 (09:48 +0900)]
thermal: check return value of update_temperature
Checking return value of update_temperature.
If return value is not Zero, it does't handle thermal trips.
Bug
200011588
Bug
200015248
Change-Id: I084e7c53ee132b33fa377d96f6c9e70f26529ffe
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/428636
(cherry picked from commit
d7254186c9a2a6aeaf360d853c332a33ef9f0ff8 )
Reviewed-on: http://git-master/r/436688
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Jinyoung Park [Tue, 17 Jun 2014 08:03:51 +0000 (17:03 +0900)]
thermal: check tz device is registered
Checking thermal zone device whether it is registered or not.
Bug
200011588
Change-Id: I377583f887d3dbe8258daa46d777daa6337b192f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/424088
(cherry picked from commit
397ce28d1841853103bc028080dfb00656211b9e )
Reviewed-on: http://git-master/r/427501
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Jinyoung Park [Wed, 28 May 2014 17:58:13 +0000 (02:58 +0900)]
misc: therm_est: Unregister tz and cdev in shutdown
Unregister thermal zone and cooling device in shutdown callback to prevent
unwanted thermal operating while shutdown processing.
Bug
1515432
Change-Id: I49a13618f7b8f8d5b55a8e960676e7357891fe89
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/416278
(cherry picked from commit
cb140feb445ff6dce4984bed527eca56191180a8 )
Reviewed-on: http://git-master/r/436687
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Jinyoung Park [Wed, 28 May 2014 17:11:11 +0000 (02:11 +0900)]
thermal: generic-adc-thermal: Add shutdown callback
Added shutdown callback function to prevent unwanted thermal zone operating
while shutdown processing.
Bug
1515432
Change-Id: I54822fa6fe4a1af811b11324c5c378904c11f654
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/416247
(cherry picked from commit
d587035a252ca5c579db4ad8fad1756259a2566c )
Reviewed-on: http://git-master/r/427500
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Om Prakash Singh [Thu, 10 Jul 2014 13:18:00 +0000 (18:48 +0530)]
net: wireless: bcmdhd: delete p2p device if already exist
in case of android service restart, framework calls DRIVER STOP and
and then DRIVER START command. We are not removing p2p device
on DRIVER STOP call as it will as it is also trigger to disable wifi when
wifi sleep policy: never selected(Bug
1525819 ). While android service
restart, supplicant also restarts that try to create p2p device and it
returns failure because p2p device was not unregister.
Solution: while registering p2p device(it will only call when
supplicant starts), free old p2p device and register it again
instead of returning failure.
Bug
200020160
Change-Id: I950f7f6e55e1250081107a65fc3d13f44a32c848
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/436678
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Sri Krishna chowdary [Thu, 10 Jul 2014 03:07:16 +0000 (08:37 +0530)]
staging: iio: light: iqs253: make sensor always on
Keep sensor always on for its proper functioning.
It seems, we do not work fine with sensor turning on when
needed and turning it off when not in use. This behavior
could be because of the time it takes to adjust to the
environment but the root cause is not yet clear.
Bug
1499925
Change-Id: I57a5949e01f8d9cf68e50d877a2dae6925592ffd
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/436506
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chas Inman <chasi@nvidia.com>
Allen Yu [Tue, 8 Jul 2014 17:21:21 +0000 (01:21 +0800)]
net: wireless: bcmdhd: reorder sdlock to avoid lockup
dhd_os_sdlock() is called in dhd_watchdog(), which is the timer function
of dhd->timer. So we need to release the lock before deleting the timer
to avoid cpu lockup.
bug
1526837
Change-Id: Icbeb393afe81ff476d0e133f60bc7b0477d37364
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/435684
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Parth Bera (Parth) Bera [Tue, 8 Jul 2014 10:20:14 +0000 (15:50 +0530)]
net: wireless: bcmdhd: do not call wl_cfgp2p_del_disc_if on DRIVER STOP
In kernel 3.10 we only use one net device wlan0 and p2p is a
wireless device register above wlan0 (driver_param with with
p2p_device=1). In this specific configuration, the DRIVER STOP
command implies to unregister of the p2p-dev-wlan0 wireless
device and to down the wlan0 iface. But when the DRIVER START
command occurs only the wlan0 net device is up, the p2p-dev-wlan0
wireless device is never registered again.
Solution:
wl_cfgp2p_del_disc_if code in wl_cfgp2p_down is unnecessary
because the function is called during unloading driver.
Bug
1525819
Change-Id: I1e37e151411fa5f85075640c831e327a4fdc7c2d
Signed-off-by: Parth Bera (Parth) Bera <parth.bera@broadcom.com>
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/435594
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Jan Kara [Thu, 3 Apr 2014 21:46:23 +0000 (14:46 -0700)]
bdi: avoid oops on device removal
After commit
839a8e8660b6 ("writeback: replace custom worker pool
implementation with unbound workqueue") when device is removed while we
are writing to it we crash in bdi_writeback_workfn() ->
set_worker_desc() because bdi->dev is NULL.
This can happen because even though bdi_unregister() cancels all pending
flushing work, nothing really prevents new ones from being queued from
balance_dirty_pages() or other places.
Fix the problem by clearing BDI_registered bit in bdi_unregister() and
checking it before scheduling of any flushing work.
Fixes: 839a8e8660b6777e7fe4e80af1a048aebe2b5977
Change-Id: Iba983ab2c40ab74f24484d44465741551a24de91
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Derek Basehore <dbasehore@chromium.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Nilesh More <nmore@nvidia.com>
Reviewed-on: http://git-master/r/435485
Reviewed-by: Prafull Suryawanshi <prafulls@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Robert Shih <rshih@nvidia.com>
Tested-by: Robert Shih <rshih@nvidia.com>
Bharat Nihalani [Tue, 8 Jul 2014 14:16:01 +0000 (19:46 +0530)]
Revert "staging: ozwpan: enable some debug trace print"
This reverts commit
09cd18b2dfc33c6f8e2f86a9c270f435172a493e since
it causes potential delay in other threads in the system to be
scheduled.
On devices that don't have the right firmware, we do see OZ_TIMER_OUT
prints flooded in kernel log. This does cause delay in other threads
to be scheduled. This print is coming from a tasklet for oz_pd_timeout_handler.
Bug
200016188
Change-Id: I844994d4a768f61e20914f3a3649d4a139c4a7ab
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/435649
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Sri Krishna chowdary [Mon, 23 Jun 2014 13:30:07 +0000 (19:00 +0530)]
staging: iio: light: iqs253: add iqs263 support
- add i2c routines for iqs263
- seperate out routines for iqs263 and iqs253
- auto detect iqs253 vs iqs263 and apply appropriate settings
- set HW suggested init settings to improve settings for iqs263
- Move code to appropriate places i.e., iqs253 first handshake
need not happen for iqs263
- fix regulator logic to match regulator_enable and regulator_disable
Bug
1499925
Change-Id: I8970d2b17322598d8197022189016e4c02a76bd5
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/427198
(cherry picked from commit
9e2d7b22653fd70b99e8b14332af908e4f2d6113 )
Reviewed-on: http://git-master/r/435667
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Robert Shih [Sat, 5 Jul 2014 05:34:59 +0000 (13:34 +0800)]
bq2419x: dump stack backtrace when WDT expired.
If hitting WDT expired case, means CPU is too much
busy somewhere and not able to schedule the workqueue
for 10 second.
Dump stack backtrace to check what is hogging CPU time.
bug
200017893
Change-Id: Ie15da50df1138ed3d4ac8f240b20b94f2797ea67
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/435472
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Yu <alleny@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Venkat Reddy Talla [Mon, 7 Jul 2014 05:34:15 +0000 (11:04 +0530)]
power: lc709203f:print battery voltage and soc at suspend and resume
print battery voltage and soc while entering into susped and
while resuming from LP0 state, it helps to debug fuel gauge update
issues.
Bug
1531256
Change-Id: I5b6895bd6e12ec965e69c687e6d1e1324f1a5470
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/434981
Venkat Reddy Talla [Mon, 7 Jul 2014 05:21:01 +0000 (10:51 +0530)]
power: extcon:display No cable detected instead of unknown cable
display log No cable detected instead of unknown cable detected
Change-Id: I38a7cef5d9d0a97a3c652567031463950860d3f6
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/434975
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Sri Krishna chowdary [Mon, 23 Jun 2014 10:52:52 +0000 (16:22 +0530)]
staging: iio: light: iqs253: update sensor code
1. clean up obsolete code paths
2. modify init sequence
3. modify i2c communication protocol
4. re init on power on reset detection
5. modify proximity detection thresholds and ATI registers
Bug
1499925
Change-Id: Icd81346259e5e689ce64854a421b6e53f1d67d05
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/427154
(cherry picked from commit
ae2861e7b8439574e36b0ccd41bf9e07a7c4a964 )
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/434893
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Arto Merilainen [Mon, 7 Jul 2014 08:16:22 +0000 (11:16 +0300)]
video: tegra: host: Do not deinit tsec
tsec deinitialisation is currently triggered when the last user
on tsec channel closes the channel and we release the firmware as
part of the deinitialisation routine. However, we may still have some
work pending on the channel and therefore releasing the firmware
may trigger unexpected faults from tsec.
As firmware release is not needed (i.e. we will need the firmware)
later when the channel is used next time, we can simply remove the
firmware release.
Bug
200018717
Change-Id: I0b2c381049c6dbec43be8f42a670fdd7b06ff400
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/435056
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
Allen Yu [Sun, 6 Jul 2014 12:10:15 +0000 (20:10 +0800)]
bcmdhd: fix NULL pointer in setting IEs
In case of device role undetermined, we should return error instread of
going ahead to set IEs to FW, which could potentially cause a NULL poiter
issue.
Bug
200015171
Change-Id: I2dd1828d6ad87845d3b0ed5bfeaffad6fe728a1f
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/434900
Reviewed-by: Robert Shih <rshih@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Kevin Bruckert <kbruckert@nvidia.com>
Tested-by: Kevin Bruckert <kbruckert@nvidia.com>
Reviewed-by: Chas Inman <chasi@nvidia.com>
Anshuman Nath Kar [Sat, 5 Jul 2014 22:26:07 +0000 (15:26 -0700)]
tegra: dc: nvhdcp: check dc powergating status
Bug
200017536
Bug
200018316
Bug
200018314
Change-Id: I7c58049166ef1e6e74daab218eb7f6abc918289f
Signed-off-by: Anshuman Nath Kar <anshumank@nvidia.com>
Reviewed-on: http://git-master/r/434862
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Anshuman Nath Kar [Thu, 29 May 2014 00:43:07 +0000 (17:43 -0700)]
video: tegra: hdmi: check dc powergating status
Add checks for dc clockgating and powergating before
reading or writing from dc hdmi registers
Bug
200005903
Bug
1514732
Bug
200017536
Bug
200018316
Bug
200018314
Change-Id: I5155af72a0529d167bf56b016d9238501c5b4229
Signed-off-by: Anshuman Nath Kar <anshumank@nvidia.com>
Reviewed-on: http://git-master/r/434863
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Allen Yu [Sat, 5 Jul 2014 03:55:38 +0000 (11:55 +0800)]
staging: ozwpan: reorder WARN_ON in oz_pd_put
In oz_pd_put(), PD may be already freed after calling oz_pd_destroy().
So we need to move WARN_ON() to the entry of oz_pd_put() instead to
avoid dangling pointer.
Bug
200017893
Change-Id: Ie12af2adcacab6dce0ce58a21a27c0497a540382
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/434837
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Aly Hirani [Fri, 4 Jul 2014 19:04:59 +0000 (12:04 -0700)]
bcmdhd: Do not allow p2p calls after netdev unreg
Bug
200015171
Change-Id: Ib8471805a37310692e69a02715c44cc5eb329d92
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/434569
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Tested-by: Eric Chuang <echuang@nvidia.com>
Deepak Nibade [Fri, 4 Jul 2014 08:41:43 +0000 (14:11 +0530)]
video: tegra: host: remove duplicate tsec boot
Remove duplicate tsec boot during tsec_init() since it is
not required at that point
Reference change : http://git-master/r/415550
Bug
1531112
Change-Id: I2ca89a0824adc2abbb8a24391add14b5b2869cda
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/434683
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Vinayak Pane [Fri, 4 Jul 2014 02:03:49 +0000 (19:03 -0700)]
HID: usbhid: protect hid disconnect flag
Acquire spin_lock before checking disconnect flag of hid.
Also add USB interface null check at get_raw_report.
Bug
200018305
Change-Id: I7255fa641cabf0866dd0d1f2fdab460ec82eca70
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/434584
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Shih <rshih@nvidia.com>
Tested-by: Robert Shih <rshih@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Allen Yu [Wed, 2 Jul 2014 07:14:24 +0000 (15:14 +0800)]
media: tegra: nvavp: fix deadlock issue
nvavp_uninit() cancels clock_disable_work in a synchronous manner,
and the work function of clock_disable_work requires nvavp->open_lock,
so any routine holds the same lock should release it before calling
nvavp_uninit().
Bug
200013513
Change-Id: I42082a97cc4e311a4141559f8a56c7c1eeb97eb2
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/434113
(cherry picked from commit
70dea56a0b911b76e118146b2aa02b8a61491dc8 )
Reviewed-on: http://git-master/r/434613
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Jon Mayo [Fri, 16 May 2014 00:45:08 +0000 (17:45 -0700)]
video: tegra: dc: skip duplicate CMU update
Skip updating CMU on first boot, and restore CMU after disable or
suspend. Use dc->pdata->cmu_enable to select initial state of cmu, and
move the current cmu status out of dc->pdata and into dc->cmu_enabled.
Remove unused flag TEGRA_DC_FLAG_CMU_ENABLE.
Bug
1507065
Reviewed-on: http://git-master/r/410636
(cherry picked from commit
0c0bfb40e67fb31a01bd69695e0f153dbb2ac8de )
Change-Id: I645923339653698d1be137b3b90ad38735c3159e
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/431945
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-on: http://git-master/r/433113
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
Eric Chuang [Fri, 4 Jul 2014 01:27:30 +0000 (09:27 +0800)]
bcmdhd: check NULL pointer
Bug
200015171
Change-Id: I7c74fcbe5bb567051b356227596b49fedb8eac57
Signed-off-by: Eric Chuang <echuang@nvidia.com>
Reviewed-on: http://git-master/r/433942
Laxman Dewangan [Thu, 26 Jun 2014 11:44:14 +0000 (17:14 +0530)]
staging: iio: adc: palmas: add debug prints when ADC failed.
Prints the ADC status and irq status when ADC conversion failed
with timeout. This helps on debugging the issue when such failure
occurs.
bug
1527322
Change-Id: Idc09f1d074f113941b6190f36060ebbfb7eed172
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/428896
Suresh Mangipudi [Mon, 30 Jun 2014 08:12:41 +0000 (13:42 +0530)]
USB: phy: tegra: replace mdelay with usleep_range
Avoid busy waiting by using usleep_range().
Change-Id: Ifba64bda667001d4de837e10ddb36f8f7d23312e
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/432651
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Chas Inman <chasi@nvidia.com>
Vinayak Pane [Thu, 3 Jul 2014 02:29:56 +0000 (19:29 -0700)]
staging: ozwpan: set audio packet priority
Increase all audio packet priority over network.
This will likely avoid audio glitches.
Change-Id: I5238da5060cb8d5990d4b4a7df8b856de7e46bd8
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/433901
Reviewed-by: Chas Inman <chasi@nvidia.com>
Vinayak Pane [Wed, 2 Jul 2014 21:43:18 +0000 (14:43 -0700)]
HID: mask HID_CONNECT_FF flag
Remove HID_CONNECT_FF bit from hid_connect.
Device has it's own forced feedback enabled.
Bug
200016744
Change-Id: I98f072c5a61809891264acbe7a498d51acef266f
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/433807
Reviewed-by: Ben Goska <bgoska@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chas Inman <chasi@nvidia.com>
Aly Hirani [Wed, 2 Jul 2014 05:28:20 +0000 (22:28 -0700)]
bcmdhd: Override fw's check for flowcontrol
The broadcom firmware sends a flowcontrol status in the rx packet
indicating that it is running short on tx buffers. This bit is used to
tell the driver to stop sending packets (based on their priority).
However, there seems to be a significantly large delay (~100ms) in the
fw updating the driver with the new flowcontrol bits.
Ozmo's audio traffic is marked as 0x106 priority which translates to
priority=0x40.
This change overrides the flowcontrol bits sent by the fw
and makes it so that the 0x40 priority traffic is never blocked from
flowcontrol. The DATAOK(bus) check on the bus ensures that we always
have enough tx buffers on the chip (despite the flowcontrol being set)
and that we don't end up clobbering packets on the fw.
Change-Id: I26c2d6f3b66d2e2f23c4c5327ed2577025bc089c
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/433463
Reviewed-by: Chas Inman <chasi@nvidia.com>
Vinayak Pane [Tue, 1 Jul 2014 02:37:20 +0000 (19:37 -0700)]
staging: ozwpan: cancel hrtimers at oz_pd_stop
When PD is stopping, cancel hrtimers associated with it
instead of waiting for pd_destroy to cancel them.
Bug
200013781
Change-Id: Id6628e21b766a2f80ecfbe982cde2b82409c6637
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/432985
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Tested-by: Eric Chuang <echuang@nvidia.com>
Vinayak Pane [Mon, 30 Jun 2014 07:41:10 +0000 (00:41 -0700)]
staging: ozwpan: flush workqueue
uevent workqueue needs to be flushed before pd free.
destroy workqueue should not have been rescheduled.
Don't make work struct NULL again.
Bug
200016744
Change-Id: Ief24aad7d787ca3ce6f0c5b4f41656aa50bf2bf4
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/432633
Reviewed-by: Allen Yu <alleny@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Vinayak Pane [Tue, 1 Jul 2014 02:45:45 +0000 (19:45 -0700)]
HID: fix bad merge in probe function
Force feedback should be enabled at hid-probe.
This has been caused by bad merge http://git-master/r/#/c/409169/
Change-Id: I5a9e97f2b489cfd0c1a988abd3c0a599ed226dd1
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/432986
Reviewed-by: Allen Yu <alleny@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Toby Butzon <tbutzon@nvidia.com>
Reviewed-by: Ben Goska <bgoska@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
bibhayr [Mon, 30 Jun 2014 18:13:18 +0000 (11:13 -0700)]
bcmdhd: check null pointer in cfg80211 callbacks
move the null pointer check before using it.
Bug
200015171
Change-Id: I669b62f2448cc515f67401df046a1d57638d8144
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/432834
Reviewed-by: Kevin Bruckert <kbruckert@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Vijayakumar [Fri, 27 Jun 2014 09:20:31 +0000 (14:50 +0530)]
gpu:nvgpu:fix powergate disabling order
ELPG has to disabled before we write to clock gating registers
If ELPG is engaged during clock gating register write it will
cause error in ELPG engine
Bug
200013495
Bug
200014542
Change-Id: I57d1c59fc9311686829d898faddc90149df4cb46
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/432206
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Shih <rshih@nvidia.com>
Tested-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Mitch Luban [Sun, 29 Jun 2014 23:36:32 +0000 (16:36 -0700)]
bcmdhd: check null pointer in cfg80211 callbacks
Bug
200015171
Change-Id: I341dd59845ae981ba1aeb7a6229cc83c37322443
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/432559