summaryrefslogtreecommitdiff
path: root/drivers/misc
AgeCommit message (Collapse)Author
2011-11-10drivers: nct1008: Generic therm funcs to nct1008Joshua Primero
Preparing nct1008 for refactoring overhaul. Added generic functions which will be used by Tegra thermal module. Change-Id: I34cbc5c84d9dd6e5f29cd631323bb8755899c5f7 Reviewed-on: http://git-master/r/57952 Reviewed-on: http://git-master/r/63337 Reviewed-by: Joshua Primero <jprimero@nvidia.com> Tested-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2011-11-03misc: nct1008: idle read temperatureBitan Biswas
Check for nct1008 status busy bit before reading temperature Reviewed-on: http://git-master/r/#change,56945 (cherry picked from commit 5a258b6567797bb402fe65ae01770bd593420431) Change-Id: I8584137edc1a794478be2fb26513c650802c5fd7 Reviewed-on: http://git-master/r/61750 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-11-02misc: nct1008: debugfs changeBitan Biswas
debugfs API usage corrected to return dentry type. - nct1008 register dump message modified based on review comments Change-Id: Iab4acc57450bc22bc74790db09e8770106290fd6 Reviewed-on: http://git-master/r/60711 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Colin McCabe <cmccabe@nvidia.com>
2011-10-28arm: tegra: power: thermal sysfs hooks in nct1008Joshua Primero
Added the thermal sysfs hooks in the nct1008 driver. Change-Id: Ie6d1f81dc703d4362bab6cac5a25d5fbd63e9e22 Reviewed-on: http://git-master/r/55832 (cherry picked from commit 20931817652d41c17359360644666f3d4d770f6d) Reviewed-on: http://git-master/r/59469 Reviewed-by: Joshua Primero <jprimero@nvidia.com> Tested-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-10-28arm: tegra: power: Improved thermal accuracyJoshua Primero
Instead of rounding up when measuring temperature in celsius, report back temperature in millicelsius. Reviewed-on: http://git-master/r/52953 (cherry picked from commit 8ccc1756061c64a0fe113eddef2e3945a09e8795) Change-Id: I4280902c8b8fda15330ea1cf06d0bf717ec18afa Reviewed-on: http://git-master/r/59466 Reviewed-by: Joshua Primero <jprimero@nvidia.com> Tested-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-10-18misc: nct1008: extended range enable sequence changeBitan Biswas
Extended range mode enable sequence for nct1008 updated as per recommended steps bug 869823 Reviewed-on: http://git-master/r/57552 (cherry picked from commit 75c6f5173cd4cfa3b0cf114cbbbf6ac1e355a09b) Change-Id: I1c1e2e1c2dfb57d60460ef36e2db4eeab31b757d Reviewed-on: http://git-master/r/58328 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-10-13misc: nct1008: debugfs support for reg dumpBitan Biswas
Debugfs support added in nct1008 driver to enable register dump. Reviewed-on: http://git-master/r/51856 (cherry picked from commit 4e7b8c8e1a7a43e4d745289fc9f20a11556eca96) Change-Id: If8b6e4e295c4c5eadc2130e864bf3ee9df4dd867 Reviewed-on: http://git-master/r/54992 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-10-12misc: nct1008: driver clean upBitan Biswas
nct1008 driver has been changed as follows: 1. debugfs create file error check corrected. 2. pr_err usage replaced with dev_err calls Reviewed-on: http://git-master/r/56651 (cherry picked from commit 5b6c784d9caf4e0551361b3601711fc9641a4dba) Change-Id: I49a40737811ed3c028b8d3b23d6b89d3e714029c Reviewed-on: http://git-master/r/57358 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-10-06arm: tegra: power: Reduced throttling hysteresisJoshua Primero
Set different hysteresis values for the EDP and throttling cases. bug 862301 Change-Id: I99ebfab955b43d48f292765a703c0eed932f7d87 Reviewed-on: http://git-master/r/51436 Reviewed-on: http://git-master/r/54760 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-09-29misc: nct1008: error handling changeBitan Biswas
Error handling in the driver was not correctly done earlier. Changes done are as follows: - error returned stored in int data type instead of u8 or s8 - few places error was not checked, added the checks needed. Reviewed-on: http://git-master/r/51855 (cherry picked from commit c8e014fa9d8a7cad2d78d91fad8fe056b4ea0714) Change-Id: I3e627ad3e5ae96cc3fe7c1d8b73fa7a77a865e00 Reviewed-on: http://git-master/r/54990 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-09-09misc: nct1008: fixing regulator handlingvenu byravarasu
Corrected regulator handling of NCT1008 bug 869217 Change-Id: I2cf72abe7b5a14fbe03463bbd4105f0b0bac34d9 Reviewed-on: http://git-master/r/51296 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-08-29misc: nct1008: allow to program fractional offsetsDiwakar Tundlam
to adjust for sku specific guardbanding of temperatures bug 844025 Change-Id: I1193eae50736ae3dbf3ce0a26653e01962c21c8d Reviewed-on: http://git-master/r/49316 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2011-08-25misc: nct1008: sub-zero temperature supportBitan Biswas
Added support for sub-zero temperatures Change-Id: Id35590ee4d058f35625088089623cc063f9a711a Reviewed-on: http://git-master/r/48690 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-08-10drivers: misc: mpu: do not register pm_notifierMayuresh Kulkarni
this is causing timing issues with kernel suspend/resume sequence causing late_resume failure. thus display does not come-up since none of the late_resume handlers are executed. fix for bug 858630 Change-Id: Ia622c03891daf794f73bdfcb6a2dcbf2c6653879 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/45847 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com>
2011-07-26Arm: Tegra: Power: Set throttling ext-sensor temp correctlyDiwakar Tundlam
Bug ID: 844882 - Set throttling temperature in ext temp sensor nct1008 for cardhu to 75C - Fix bug in nct1008 temp sensor driver in disable throttling logic Change-Id: I2ed8aab63186f16c554ca459e71f3437119bd4e6 Reviewed-on: http://git-master/r/42707 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-07-20misc: nct1008: extended mode first reading fixBitan Biswas
nct1008 first temperature reading in extended mode is incorrect. A valid temperature is available in next measurement cycle after changing temperature range. - using table with delay expected for supported conversion rate of nct1008. bug 852754 Change-Id: Id68cbf6a83fe2a11ae2a6d94f0df51a3ebd37ac7 Reviewed-on: http://git-master/r/41506 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-19misc: nct1008: ext-temperature sysfs fixBitan Biswas
In extended temperature range ext-temperature reported was incorrect. Fixing this. bug 850512 Change-Id: I45b8e3630cad3ca5f78960c16402b77e9bc25cc9 Reviewed-on: http://git-master/r/41261 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-07-14misc: tegra-crypto: enable prints for some errorsVarun Wadekar
Change-Id: I2effe3ad6454965a4f48c4185c325ad3355c3661 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/41011 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12Arm: Tegra: Tsensor: Added guardbanding to temperaturesDiwakar Tundlam
Bug 844025 - Guardband to account for hotspot offset and sensor accuracy. - Throttling point specified independent of EDP, but constrained to be one of the specified EDP points. Change-Id: Ic9231ad6887ca282bb520ea23229526ac7a243be Reviewed-on: http://git-master/r/40566 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2011-07-08misc: nct1008: Power control for nct1008Laxman Dewangan
Adding the power control support for device nct1008 to make sure that power is enable on device before accessing the device. bug 849307 Change-Id: I84d7abc142814014bfc568b3a4b0ae0d5329f41e Reviewed-on: http://git-master/r/40160 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
2011-06-23misc: mpu3050: removed printkJon Mayo
unnecessary printk removed BUG 842174 Change-Id: I4b194a175fa2d040d1512804787f1351dbefc336 Reviewed-on: http://git-master/r/36582 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
2011-06-06mpu3050: Motion Libraries: Update MPU kernel to v3.3.4.Robert Collins
Update 1 of 3: MPU kernel files. Depends on board file and defconfig file. BUG 808052 Change-Id: I42b08570d3a8dac090860276e04f6d2ab7545461 Reviewed-on: http://git-master/r/29724 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com>
2011-05-27misc: nct1008: set edp zone on driver initializationAlex Frid
Change-Id: I2f578aee6dea911ebbe63cdcb5c9a7ddfcdf2264 Reviewed-on: http://git-master/r/32862 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-18misc: nct1008: update edp zones for current temperatureVarun Wadekar
nct1008 will now use the ALERT# functionality to decide which edp zone to switch to. Change-Id: I1616a1d88e9f2f308a8b31935dbecec05ef54bca Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/31340 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-04-26Update copyrightsScott Williams
Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a
2011-04-26arm: tegra: cardhu: correcting bt rst gpioRakesh Goyal
introduced delay after toggling the gpio. BUG 802916 800599 Original-Change-Id: I5cbd5c3334634af5ab1d42103d0a890fee2ecfc3 Reviewed-on: http://git-master/r/23001 Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I91e00b1a7d4f2fd02b97ca59fdd870a7eeb9c191
2011-04-26misc: nct1008: sysfs interface for THERM settingDan Willemsen
Enabling external temperature sensor for honeycomb t30 - added sysfs interface in external temperature sensor - Set THERM threshold for nct1008 external temperature sensor as 75 degree celsius - hysteresis of 5 deg celsius selected to prevent system going in and out of reset for threshold temperatures. Bug 789904 Original-Change-Id: I305a05bc57ae485334ccf2dc1bde3d6afd4fceae Reviewed-on: http://git-master/r/18894 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I2b0c97ecef1a11282e92d4d8f3e64b3633bb362e
2011-04-06arm: tegra: Remove executable bit from source filesRobert Morell
Generated with the script: find \( -name "*.c" -or -name "*.h" -or -name "*akefile" -or \ -name "*\.mk" \) -type f -perm /+x | xargs chmod -x Change-Id: Iabae1aa20fd49a1c8db439fc132182d0f629deab Reviewed-on: http://git-master/r/26806 Reviewed-by: Robert Morell <rmorell@nvidia.com> Tested-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2011-03-22misc: mpu3050: Invensense MPU code update v3.3.3vsalve
Update Invensense Motion Library (MPL) to production version v3.3.3. Previous version was engineering release and is not suitable for mass production. This version of the MPL most notably fixes problems with suspend/resume where touch screen would quit working during a suspend/resume cycle. Change-Id: Ia33433a677862b3d1e31d410aac7176d7a381a8f Reviewed-on: http://git-master/r/22987 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-14misc: tegra-crypto: do not specify any key when using sskVarun Wadekar
if no key is specified then tegra-aes uses ssk by default Change-Id: Ia8f806a6822813d05f4d310b95676b058fd0c8cc Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/22163 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-10fix build: max1749.c was erroring during a local makeDan Willemsen
If built with android, which uses the O=... option, this file compiles fine, but if you try to just use 'make', there was a build error. Change-Id: I09f0233c2bf933278c34a7ec5e7fcc17cabc1ede Reviewed-on: http://git-master/r/22274 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-08Invensense: simplify KconfigDan Willemsen
This change makes the choices optional, and removes redundant entries. With this change, the minimal defconfig format doesn't want to always build the mpu3050 as a module. Change-Id: Ic6dc65e982bc59671e27adbce257bf14bc97777c Reviewed-on: http://git-master/r/21776 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com>
2011-02-04misc: MAX1749 vibrator motor driverPrashant Gaikwad
Bug 782956 Change-Id: I0949eb5b40e75c7e9697787aba3d645dbe695cee Reviewed-on: http://git-master/r/18167 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-03Port Invensense MPU3050 drivers into tegra-2.6.36Wen Yi
Change-Id: Iceb3ef8b11d4ce18fd3cb0947268744775b81758 Reviewed-on: http://git-master/r/17525 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27nct1008: add support for external sensor readingsJoseph Lehrer
bug 783966 Change-Id: Ic454eba8675596cf77856e0ec3da8df7d56d82ee Reviewed-on: http://git-master/r/17005 Tested-by: Joseph Lehrer <jlehrer@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Shail Dave <sdave@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-01-19misc: tegra-cryptodev: asynchronous callbacks for encrypt/decryptVarun Wadekar
the tegra-aes driver was changed to being an actual asynchronous cipher driver. the client now has to pass a callback which will be called by tegra-aes when the operation is complete. Change-Id: I1cbc1d30722afef2c3edafbbebb3529e94e1d364 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/16047 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-19misc: tegra-cryptodev: device node to access tegra aes hwVarun Wadekar
/dev/tegra-crypto node to access tegra aes hw from the user space. currently ecb/cbc/ansi_x9.31 modes are supported Change-Id: I8d9e48d4b139e9c2e26a885773fb2f792fb6ca87 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/16046 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-10merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/fuse.c drivers/misc/Makefile Change-Id: I300b925d78b31efe00c342190d8dbd50e2e81230
2011-01-08Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
Conflicts: drivers/misc/Kconfig drivers/misc/Makefile Change-Id: I826244513f799fdd2fb0269abad3271c96661293
2011-01-07NCT1008 temperature sensor driverTodd Poynor
Replace the PM-only driver for NCT1008 with a new version written by Varun Wadekar and Dmitriy Gruzman. Add a callback to an alarm function specified in the board platform data. Change-Id: Ib429533930ee75af3402d24b0bc286da9f6ee67b Signed-off-by: Todd Poynor <toddpoynor@google.com>
2011-01-07misc: Initial NCT1008 driverGreg Meiste
Initial version of the NCT1008 driver to turn off the sensor when the device is suspended. This improves standby current drain. Change-Id: Ia64613c33c0052434d5e304c434605611e5ef789 Signed-off-by: Greg Meiste <w30289@motorola.com>
2011-01-02[bt/rfkill]: make either RST/SHUTDOWN GPIO usage optional.Anantha Idapalapati
the current BCM4329 rfkill driver assumes usage of 2 GPIOs known as RST and SHUTDOWN and the driver makes a particular GPIO mandatory. Some of the platforms does not define both GPIOs, instead a single either RST/SHUTDOWN GPIO is used to setup the chip. This change makes driver to consider any of the two GPIOs as optional and use any of the RST/SHUTDOWN GPIOs. Simultaneous usage of both GPIOs is also allowed. Change-Id: Ib66ea350e78642082f639514ef7a9def6e460e28 Reviewed-on: http://git-master/r/14534 Reviewed-by: Anantha Idapalapati <aidapalapati@nvidia.com> Tested-by: Anantha Idapalapati <aidapalapati@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-23merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/board-ventana-power.c drivers/mfd/tps6586x.c Change-Id: Ic8c46d4251d6e71fa2900b7e876f87e256299bc4
2010-12-21Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
Conflicts: drivers/usb/gadget/composite.c Change-Id: I1a332ec21da62aea98912df9a01cf0282ed50ee1
2010-12-14[misc] cancel executable permission on source filesChao Jiang
Source files should not be with executable permission. Change-Id: I70b6be4cf88fea4be9b092ca2f5dd08e40ee7cbd Reviewed-on: http://git-master/r/12081 Reviewed-by: Chao Jiang <chaoj@nvidia.com> Tested-by: Chao Jiang <chaoj@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-10[ARM/tegra] Integrate Accelerometer source code files.Robert Collins
Inegrate MPL libraries and the following sensors: Accelerometers: kxtf9 Compi: ak8975 Change-Id: I450b5b7ff018249a19bb23b78e722e9a355b7bd8 Reviewed-on: http://git-master/r/11803 Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-09sgi-xpc: XPC fails to discover partitions with all nasids above 128Robin@sgi.com
commit c22c7aeff69796f46ae0fcec141538e28f50b24e upstream. UV hardware defines 256 memory protection regions versus the baseline 64 with increasing size for the SN2 ia64. This was overlooked when XPC was modified to accomodate both UV and SN2. Without this patch, a user could reconfigure their existing system and suddenly disable cross-partition communications with no indication of what has gone wrong. It also prevents larger configurations from using cross-partition communication. Signed-off-by: Robin Holt <holt@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09drivers/misc/ad525x_dpot.c: fix typo in spi write16 and write24 transfer countsMichael Hennerich
commit 1f9fa5216eacf4fdf9d3e4ab57feb8b642f0e78b upstream. This is a bug fix. Some SPI connected devices using 16/24 bit accesses, previously failed, now work. This typo slipped in after testing, during some restructuring. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Chris Verges <chrisv@cyberswitching.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-22sgi-xp: incoming XPC channel messages can come in after the channel's ↵Robin Holt
partition structures have been torn down commit 09358972bff5ce99de496bbba97c85d417b3c054 upstream. Under some workloads, some channel messages have been observed being delayed on the sending side past the point where the receiving side has been able to tear down its partition structures. This condition is already detected in xpc_handle_activate_IRQ_uv(), but that information is not given to xpc_handle_activate_mq_msg_uv(). As a result, xpc_handle_activate_mq_msg_uv() assumes the structures still exist and references them, causing a NULL-pointer deref. Signed-off-by: Robin Holt <holt@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-18Merge branch android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: Ib01f171e7159768fc5ed3509b5a3e0b987dc57ef