summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-14media: v4l2: tegra: fixing memory access oops in tegra camera driverBryan Wu
Function pointer int (*queue_setup)() of struct vb2_ops in include/media/videobuf2-core.h is not compatible with our function call tegra_camera_videobuf_setup(). So building will generate warning and it will cause alloc_ctxs[] with wrong value, then introduce memory access oops later. Bug 1215617 Change-Id: I5d49ccd611a9435a5ee3b21e344bc0b5464ba747 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/190036 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andrew Chew <achew@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-01-14video: tegra: dc: minimum window size is 1x1Jon Mayo
Use 1x1 as the minimum window size. Bug 1193195 Change-Id: I42e13fec82bbc2dc37bde6416088f3ae49b304b7 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/173302 (cherry picked from commit 3f160560b48fdf501547b9fc1f7c5bf8bd5e32af) Reviewed-on: http://git-master/r/190810 Reviewed-by: Eric Brower <ebrower@nvidia.com> Tested-by: Eric Brower <ebrower@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-01-11driver: bcm4329: initialize SSID variable properlyMursalin Akon
initialize SSID variable properly to ensure no memory overrun. Bug 1204024 Change-Id: I2485c13edcf6a0feeae3cd4b2e9e98910a771dd2 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/190684 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-01-11media: videobuf2-dma-nvmap: fixing nvmap_alloc failureBryan Wu
Videobuf2-dma-nvmap driver using by Tegra v4l2 camera driver needs to allocation memory from system memory with nvmap_alloc(). If we don't enable config option CONFIG_NVMAP_ALLOW_SYSMEM, nvmap_alloc() will fail and application stops working. Bug 1215629 Change-Id: I40af697d8aee1a4981a9684953107dd070cc9bea Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/190037 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andrew Chew <achew@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-01-09driver: bcmdhd: do not allow hang thread after cleanupMursalin Akon
do not allow scheduling hang thread after cleanup is done. Bug 1210849 Bug 1205910 Bug 1163014 Change-Id: Idc5f9fd6a3d210843f1168e57ceef107599d5789 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/189721 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com>
2013-01-07usb: otg: tegra: Do not free platform data twicePreetham Chandru R
when platform device is unregistered, the call to platform_device_release() will kfree the platform data. Hence do not free the platform data again. Bug 1209618 Change-Id: Ied67f550223ec199da4bc8e38a12e7ee94c2d98a Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/187806 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2013-01-04arm: tegra: sata: Fix LP0 resume problemYen Lin
- Fix a bug in ahci-tegra.c when checking if SATA is on when resuming - Add codes to support PM315 which uses LDO1 regulator for SATA rails bug 1206518 Change-Id: Iaa910b1948fbcf5e45491977fd8ed0b313d2e0ae Signed-off-by: Yen Lin <yelin@nvidia.com> Reviewed-on: http://git-master/r/188441 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bibek Basu <bbasu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com> Reviewed-by: Peng Wu <pengw@nvidia.com> Tested-by: Peng Wu <pengw@nvidia.com> Reviewed-by: Eric Brower <ebrower@nvidia.com>
2012-12-21arm: tegra: fb: Fix merge errorShashank Sharma
Fix manual rebase error Change-Id: I3b2165488b11bddda271cecdc979341c130def9b Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/173554 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-20arm: tegra: fb: Set new mode to all vc'sShashank Sharma
Send change all vc's notification from HDMI hot-plug reader to fbcon, so that the new selected mode can be applied on all the vc's from vc1 to vc6. This sometimes causes corruption on HDMI hot plugin, when fbcon is mapped to HDMI Bug 1166008 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Change-Id: Id173de3014597f79c8c8b31bbbee7c9c560547b6 Reviewed-on: http://git-master/r/168683 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2012-12-20arm: tegra: dc: corrct order to enable/disable dc irqJong Kim
When porting change from mainline to balance dc irq, the change of enable/disable order was not ported, thus dc irq is disabled if dc is enabled during probe. This is part of http://git-master/r/146107. Original change is big for many bugs, only port one here. bug 1173177 bug 1173038 bug 1008313 Change-Id: Idd703daca9f980e905b185eeeae19dc6309d76e5 Signed-off-by: Dongfang Shi <dshi@nvidia.com> Reviewed-on: http://git-master/r/162868 (cherry picked from commit 6ddd8b02f7a17d2269290d06159c20860ffb92e9) Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/173249 Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-12-20arm: tegra: fb: Update line_length using display widthJong Kim
Unconditionally update line_length using disply width to avoid discrepancy between line_length and actual display width. bug 1186388 Change-Id: I8ef2f9cf76a61764c2121f3c2c013b72b830ce2e Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/170664 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-18net: wireless: bcmdhd: Do not use P2PMursalin Akon
Do not use P2P, as it does not fit well with network manager. Bug 1199933 Change-Id: I355515574baabeace7c48932c52007c1fe0c3d5f Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/171551 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2012-12-17ARM: tegra3: pm315/beaver: enable Realtek ALC5640 audio codec supportBryan Wu
- select RT5640 ASoC support in Cardhu machine Kconfig - enable RT5640 ASoC driver in tegra3_defconfig - select RT5639 ASoC codec when selecting RT5640, othwise kernel linking will fail Bug 1190823 Change-Id: I1046c30667d4ca8276080f1b3174eccd0b25328c Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/168884 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17video: tegra: clear fb2 unspecified by bootloaderJong Kim
Clear framebuffer2 if and only if framebuffer2 is not specified by the bootloader. If the bootloader framebuffer2 is specified, then copy the contents to kernel framebuffer2. bug 1175957 Change-Id: I4ac4432c1dac6a6c634ab3e6ae31628f9c64ddb4 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/170663 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17arm: tegra: display: handle fbmem2 cmdline parameterJong Kim
Parse and handle fbmem2 cmdline parameter. bug 1175957 Change-Id: I0933825371bf13782e9f4364a4dba078929ae836 Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/170662 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17arm: tegra: display: provide framebuffer clear functionJong Kim
Add tegra_clear_framebuffer function. bug 1175957 Change-Id: I12c249e011ecd839bbe9c5371b8be6e8a4b27bba Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/170661 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17media: ov5640: Add Omnivision OV5640 supportAndrew Chew
Based on ov5642 driver. There seem to be some register differences, so forking the driver to make those changes. Change-Id: Idb4a79757cbbcd15d5456ce82a708f433faaff7a Signed-off-by: Andrew Chew <achew@nvidia.com> Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/169836 Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17media: tegra: enable a clock for VIP in APB MISC registerBryan Wu
Change-Id: Ic4d91f4ed70fc3daf52768118f6ea537d529a5a8 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/169835 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17tegra: Add nvmap_mark_global()Andrew Chew
Add this function, to be able to set the global field of an nvmap_handle while preserving the nvmap API's encapsulation mechanisms. Change-Id: I62de773a65119722f059b114e2d0e906c7e04e83 Signed-off-by: Andrew Chew <achew@nvidia.com> Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/169834 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17tegra: Add function to release resourcesAndrew Chew
Add a companion function to nvhost_client_device_get_resources() called nvhost_client_device_put_resources() that does the opposite thing. This is useful for any nvhost clients that need to be loaded as modules, since the driver removal path will be exercised in that case. Change-Id: Ib5cec6fce7b05c780b135b03fcd88e068f772244 Signed-off-by: Andrew Chew <achew@nvidia.com> Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/169833 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17media: tegra: Tegra videobuf2Andrew Chew
This is based off of videobuf2-dma-contig, except we use Tegra's nvmap for the buffer allocations. Signed-off-by: Andrew Chew <achew@nvidia.com> Change-Id: I15e689c33ee7b4fc0aade794c78701c82483df3f Reviewed-on: http://git-master/r/145345 (cherry picked from commit 70a4f20fbdd6c2c719400d6c59ef58d845657031) Signed-off-by: Bryan Wu <pengw@nvidia.com> Change-Id: Ia0632d7fcb28415e33fbb22c48f29117d7436f1d Reviewed-on: http://git-master/r/170824 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andrew Chew <achew@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17media: tegra: Tegra V4L2 cameraAndrew Chew
This is the Tegra V4L2 camera host driver, for Tegra2/Tegra3's VI/CSI controller. Signed-off-by: Andrew Chew <achew@nvidia.com> Change-Id: If2d9eefe53c2119c1a6ae518216e1a3c3ed216ef Reviewed-on: http://git-master/r/145346 (cherry picked from commit 5a9bfd588b755f354ae21471a3a2a3e559ca6fae) Signed-off-by: Bryan Wu <pengw@nvidia.com> Change-Id: I4db33b17efdb401938603cb2153d73bf3421ba61 Reviewed-on: http://git-master/r/170823 Reviewed-by: Andrew Chew <achew@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-17media: tegra: Add docs for Tegra V4L2 cameraAndrew Chew
This readme describes theory of operations of the Tegra camera host driver. Signed-off-by: Andrew Chew <achew@nvidia.com> Change-Id: I9e6f761cd60f5b8a537174290df21fb85f016dca Reviewed-on: http://git-master/r/145347 (cherry picked from commit 7dd02775470d2b243f96b7d1f4e8b9c4e3b3ada6) Signed-off-by: Bryan Wu <pengw@nvidia.com> Change-Id: I10fd56ea6e3e83db6e09b75126a2048552ef052c Reviewed-on: http://git-master/r/170822 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andrew Chew <achew@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-12-17tegra_camera: fix building error when disable CONFIG_TEGRA_CAMERABryan Wu
LD vmlinux.o drivers/built-in.o: In function `is_tegra_camera_on': /home/roc/Work/bug_vip/source_vibrante/kernel/include/media/ tegra_camera.h:59: multiple definition of `is_tegra_camera_on' arch/arm/mach-tegra/built-in.o:/home/roc/Work/bug_vip/source_vibrante /kernel/include/media/tegra_camera.h:59: first defined here make: *** [vmlinux.o] Error 1 Commit '678708d WAR: gr3d: limit 3d clock when camera is on' introduced a function is_tegra_camera_on(), which is dummy when CONFIG_TEGRA_CAMERA is disabled. But it will be multiple defined when includ this header file in multiple C files. So marking it as static will kill this error. Change-Id: I9dbcf1231f744c23e761d70da0bfc874fb286e4a Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/167510 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-14media: video: tegra: nvavp: Fix nvmap handle issueGajanan Bhat
In open call we were assigning the driver's nvmap handle to the nvavp's client context which would get released in release call to driver. This will cause driver's nvmap handle to be invalid if a parallel client context is running and driver does any nvmap operation. Bug 1013063 Bug 1192772 Change-Id: Id02520ae8ec511bb8c50bc4d3908ea3e75e1ea6b Reviewed-on: http://git-master/r/170585 Signed-off-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-on: http://git-master/r/171097 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-12-07usb: tegra: conditionally set wake enablePreetham Chandru R
Set wake enable only if remote wakeup is supported by the platform Bug 1039143 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Change-Id: I805dd773cdbb5639f59b2f5ba4bcb2e14be74d5b Reviewed-on: http://git-master/r/147462 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-12-05ARM: tegra: p852: Fix misbracketed cond clauseAndrew Chew
This misbracketing can potentially result in an invalid pointer dereference. Signed-off-by: Andrew Chew <achew@nvidia.com> Change-Id: Iaed185dd2141f1aa332747eeba10d22b850caa37 Reviewed-on: http://git-master/r/168475 Reviewed-by: Peng Wu <pengw@nvidia.com> Tested-by: Peng Wu <pengw@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-12-04config: tegra3: BT and HID optionsMursalin Akon
- enable couple of HID devices - modify couple of BT options Bug 1178960 Change-Id: Id9377edff2189d8a63f624d5d4e388e54658482f Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/167541 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-12-04bluetooth: hid: make Android code conditionalMursalin Akon
Commit 7c786ce33a1b4194cb95aa1e68bc38d552eda932 introduced couple of fields, which are not used in standard bluez user space stack. However, Android bluez use them. This CL, conditionally builds the part of the code introduced in the above commit. Bug 1178960 Change-Id: I7254fe83c7fb4bbfd14e00dda3ec3a14afc1b234 Signed-off-by: Mursalin Akon <makon@nvidia.com> (cherry picked from commit e3375fd96fa5e0d7cfcda848d797cd512c12b7a6) Reviewed-on: http://git-master/r/167540 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Eric Brower <ebrower@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-12-04config: tegra3: enable RFKILL_GPIOMursalin Akon
required for bluetooth Bug 1033671 Change-Id: Ibc45eaf344ef7a5eea88e7df5747f8dcdcbf202d Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/166347 Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-11-28arm: tegra: config: enable SATA for L4TBibek Basu
Enable CONFIG_SATA_AHCI_TEGRA Bug 1171138 Change-Id: Id0cf3679a0fb0b85e20cd83c94135bf2aab2dd71 Original-author: Mike Thompson <mikthompson@nvidia.com> Signed-off-by: Mike Thompson <mikthompson@nvidia.com> Signed-off-by: Bibek Basu <bbasu@nvidia.com> Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/143985 Tested-by: Simone Willett <swillett@nvidia.com> (cherry picked from commit 6830e27f86e0f3a2f1e3bad51ee2bf6855dc99b7) Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/166838 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-11-28arm: tegra: ahci/sata: check sata against board idBibek Basu
If the board has sata support, then only add platform device Also move slumber code to Idle powergate section to avoid build failure. Bug 1171138 Change-Id: I6128f451f348a7fad41fc52579b18939c8a2efcd Original-author: Mike Thompson <mikthompson@nvidia.com> Signed-off-by: Mike Thompson <mikthompson@nvidia.com> Signed-off-by: Bibek Basu <bbasu@nvidia.com> Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/143984 Tested-by: Simone Willett <swillett@nvidia.com> (cherry picked from commit 6e6a0ec500a3113272a593e4466f04d940bc637f) Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/166837 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-11-28arm: tegra: cardhu: add support for PM315Bibek Basu
Add support for PM315 Bug 1171138 Change-Id: I2e5461c656c41d4172aca60525655cb780eaa17e Original-author: Mike Thompson <mikthompson@nvidia.com> Signed-off-by: Mike Thompson <mikthompson@nvidia.com> Signed-off-by: Bibek Basu <bbasu@nvidia.com> Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/143506 (cherry picked from commit 4e66142b6990ca586e085aa88ae0bd6b819da0c4) Reviewed-on: http://git-master/r/166814 GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-11-02arm: tegra: fb: Update fix line_lengthtegra-l4t-r16r2-rcShashank Sharma
Update framebuffer's fix line_length parameter when changing video mode dynamically.The new line_length should be according to new x resolution. On addition, check the return value from dc driver while setting a mode. Bug 1163682 Bug 1056767 Bug 1056782 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Change-Id: Ib0ab48474f0af3235556a7f7f0d8354af3b50994 Reviewed-on: http://git-master/r/147511 (cherry picked from commit 5856c4afde9459ba6afaf2cdcb07361d9fbf8c79) Reviewed-on: http://git-master/r/160788 Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-11-02arm : tegra2 : do not power off the phy in suspendPreetham Chandru R
Since there is no PMC available in tegra2 we will not be able to get any remote wakeup events. Hence do not power of the phy during usb suspend. Bug 1166740 Change-Id: I882066a283af2e574b111da3472eb3f8f8a9d6eb Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/160593 Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2012-10-12ARM: tegra: rename fuse driverPreetham Chandru R
The fuse driver registers parameters and thus create a /sys/module/fuse directory which collides with the fuse filesystem driver. Rename fuse.c to tegra-fuse.c to fix this. Bug 1058350 Change-Id: I5201bc43fcb44df8181085322bc40d1f6e99bf93 Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/143206 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Stephen Warren <swarren@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-10-10ARM: tegra: ventana: disable usb1 vbus gpioPreetham Chandru R
disable the usb1 vbus gpio in kernel and not depend on bootloader to disable the vbus initially. Currently, the kernel enables and disables the vbus when the otg is configured to host mode, but when the system boots with no cable connected the kernel relies on the bootloader to turn the vbus off. This CL removes that dependency. Bug 1047048 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/#change,141970 (cherry picked from commit c3461995dd156968d766ec05879fd1097221ceb8) Change-Id: I96c1f4b97a2cafdfd498b591647200d26298a43b Reviewed-on: http://git-master/r/142839 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kiran Adduri <kadduri@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-10-09asoc: tegra: WAR: Check AVP id before setting DMAShashank Sharma
WAR to check souncard data's avp_id before trying to set DMA address. An invalid avp_id can cause invlaid rtd, causing panic in control ioctl calls. Bug 1046249 Bug 1044761 Bug 1049940 Bug 1050152 Change-Id: Ib536220fdb92f8256c777d6fa14b66e47bc6b7be Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/134426 (cherry picked from commit 007fd7b1ae101c5be2a3d35ad11e7190862c04ca) Reviewed-on: http://git-master/r/142493 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-10-04enabling P2P for bcmdhd driverMursalin Akon
Bug 1029792 Change-Id: I8ee7190ccd50863f6f0f1aa216035afbae57ebcf Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/141631 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-10-04config: use CFG80211 for bcmdhdMursalin Akon
CFG80211 is needed for WFD. So, use CFG80211, instead of, WEXT in bcmdhd driver. Bug 1029792 Bug 1029733 Change-Id: I81d99a821429f3be8400355faa5bee14904c0944 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/141630 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-10-04bcmdhd: use the wiphy from private data structure (i.e., wl_priv)Mursalin Akon
problem: The macro wiphy_from_scan retrieves wiphy from wl_priv->escan_info.wiphy which is in turn set by a 'scan' initiated from kernel space (like scheduled scan) or from user space (like iwlist command). Without a scan, a 'connect' crashes in function wl_inform_single_bss, with NULL pointer access, as the variable wiphy (in turn, wl->escan_info.wiphy) is not initialized properly. solution: wireless_device data structures maintained for both STA and P2P mode point to the same wiphy (see, wl_cfgp2p_register_ndev in wl_cfgp2p.c). So, irrespective of whatever wireless_device is in use, a scan will always set wl_priv->escan_info.wiphy to the same wiphy. There is no point in getting wiphy using wl_priv->escan_info.wiphy, rather use the wiphy referred by all wireless_device structures. Bug 1029792 Bug 1029733 Change-Id: I6d744950d3a053642ffa998b3c3f3ba60c0cb687 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/141629 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-10-04bcmdhd: do not turn off mmc at probeMursalin Akon
Do not turn off mmc at probe if watchdog thread is in use. Bug 1029792 Bug 1029733 Change-Id: Ia2e303daa27688c96e7fa5941e01cf821166c498 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/141628 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-10-04net: wireless: bcmdhd: cleanup Kconfig/MakeMursalin Akon
cleanup bcmdhd driver Kconfig and Makefile Bug 1029792 Bug 1029733 Change-Id: Ic947644d2159a52fab7aea1621e12e51d8ee6332 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/141627 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-10-01arm: tegra: fb: Apply new mode even if its currentShashank Sharma
Set activation of a mode forcefully via setting FB_ACTIVATE_FORCE flag. Required for stereo modes also. Bug 1005399 Change-Id: I37872cc2a04abc8774a5f9f9df7d9e90f2c977f6 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/122087 (cherry picked from commit 80a7b7b2d10a97427e12884d469a518cc2b5f765) Reviewed-on: http://git-master/r/140033 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-10-01arm: tegra: cardhu: Reserve 16MB on RAM for HDMIShashank Sharma
Reserve 16MB for HDMI maximum possible resolution (1920x1080) at 32 bpp and double buffering. Change-Id: Id719a875b805723758485f970ab9e2f1a28ed19b Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/121562 (cherry picked from commit d376bc491a460353124adc0f2be8612add0d8e76) Reviewed-on: http://git-master/r/140032 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-10-01video: tegra: fb: Configure dc from fbShashank Sharma
This patch contains following changes: 1. Modify tegra_fb_update_monspecs to select best mode to apply on framebuffer, in HDMI hotplug. 2. Add a console_lock to prevent corruption while fbcon running in multiple threads. 3. Add a tegra_dc_disable/enable in tegra_fb_set_par to reflect the programmed new mode applied on DC. Bug: 1005399 Change-Id: I133b38b00f25f767afc05549550fecde8d092fb2 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/120932 (cherry picked from commit ec7552ef36c0d0979cb31db6d2d4bd54e7f1c9fb) Reviewed-on: http://git-master/r/140031 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2012-10-01ARM: tegra: fix-up tegra_gpio enable/diablse defsMatt Pedro
Clean-up the definition of the tegra_gpio enable/disable so that it compares to the l4t r16 rel. Change-Id: Ia8584ada1e2a728d2784d6d57c72ed4b0ee01cf1 Signed-off-by: Matt Pedro <mapedro@nvidia.com> Reviewed-on: http://git-master/r/140648 Reviewed-by: Automatic_Commit_Validation_User
2012-09-30ARM: tegra: fix-up definition by adding 'static'Matt Pedro
Fix up the definition of the tegra_gpio enable/disable. Change-Id: Id71242690efa3e5994a4b70089826f2b87997ece Signed-off-by: Matt Pedro <mapedro@nvidia.com> Reviewed-on: http://git-master/r/140036 Reviewed-by: Automatic_Commit_Validation_User
2012-09-30ARM: tegra: Fix missing functions in gpio headerMatt Pedro
Fix the missing tegra_gpio enable/disable function defitintions. Change-Id: I82ed085bd67486d5e9c383a8c26243e2c1edf670 Signed-off-by: Matt Pedro <mapedro@nvidia.com> Reviewed-on: http://git-master/r/140026 Reviewed-by: Automatic_Commit_Validation_User
2012-09-20cpufreq: interactive: Unify Governor Lock StrategyMatt Wagner
Change our locking strategy to be the same as the conservative and ondemand governor for GOV_START and GOV_STOP to allow for correct handling of multiple CPUs Bug 1049258 Change-Id: I15ab620e2f9d47b00ec8186c224eb719b9735aa7 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/133360 Reviewed-by: Satya Popuri <spopuri@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>