Age | Commit message (Collapse) | Author |
|
arch/arm/mach-tegra/common.c
drivers/ata/ahci-tegra.c
|
|
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>
|
|
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>
|
|
Notify USB connection events to otg core. These notifications will be
used by drivers (e.g. otg wakelock driver) who registered for the
events.
See a4c597152f0b69ba1172b3d52d4e9d39ea3bbd53.
|
|
Conflicts:
arch/arm/mach-tegra/tegra3_usb_phy.c
arch/arm/mach-tegra/usb_phy.c
drivers/usb/gadget/tegra_udc.c
drivers/usb/otg/Makefile
drivers/video/tegra/fb.c
sound/soc/tegra/tegra_pcm.c
|
|
Removing tegra_gpio_enable calls as they are supported through
set direction calls in the driver.
|
|
Merge with latest NVIDIA L4T R16.
Only real conflict concerning inverted VBUS gpio support.
|
|
Notify USB connection events to otg core. These
notifications will be used by drivers (e.g. otg wakelock
driver) who registered for the events.
Bug 1031034
Bug 976849
Change-Id: I3655071af9226e3aef385681fcabc94b9def4233
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/127137
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Sometimes USB connect and disconnect events is not detected properly. The
OTG irq handler is using a workqueue which has no protection for multiple
incoming event handling.
This patch adds mutex to protect the workqueue for USB connection
handling.
BUG 968345
Change-Id: If1c6fec4231dd0dc918f7f278e0a1d7667782917
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/122308
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Device disconnect during resume might fail if notification
clients for this device removal are not ready.
Disconnecting device after the resume is complete.
Bug 1024496
Change-Id: Ia806e177d2dd2b1b43d3fea7a4af45f0d4a93cd4
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/122079
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Werror flag is enabled now. Fixing the compilations
errors when DEBUG is enabled.
Change-Id: I909dd177eedfd72f1f71d1a546fc40c301bd1aa7
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/122033
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
-enable warnings as errors compilation flag
-handle errors of missing semicolon and mismatched argument type
bug 949219
Change-Id: I29b1c08c590c94fa1aa43a9e37abf0385e3597d5
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/118235
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Value of WAKEUP register is not updated
properly. Correcting it to take appropriate
value.
Bug 1008660
Change-Id: Ic1dcfed6639c8e8c686bc6931216fd268e4521ed
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
|
|
Wake sources usb VBUS or ID detect enabled
bug 980993
bug 936982
Change-Id: Iea36d308c1a118abdb7815212d749bd058d0054f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/103141
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Previously the callback was added to control USB VBUS.
The standard way is to use regulator.
Bug 997805
Change-Id: I88b15befaf4e162478da19ead50695978b2c5f4b
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/112901
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
Migrate Colibri USB OTG support.
|
|
Becasue of a previous workaround, suspend/resume pair is implemented as
suspend/complete pair in the driver's dev_pm_ops field.
If any driver suspend routine (which is called before otg suspend)
failed, then tegra_otg_resume() will be called even tegra_otg_suspend()
is not called. This will cause disable the OTG clock, and OTG will not
generate any more IRQ.
Ideal fix would be use suspend/resume pair to implement the dev_pm_ops,
but this might break previous workaround. This patch check suspend()
routine is called or not in the resume routine; even we use suspend/
resume pair in the future, it will not cause bad behaviour.
BUG 999759
Change-Id: I88f9c28bb76c5ff9e32917904017f291456cb933
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/108444
(cherry picked from commit c751aeea65f126d8e2df7f8a9ba02a631f958dc1)
Reviewed-on: http://git-master/r/108945
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
|
|
Host support should be disabled only when there is platform
data specifying proper setting.
Bug 998001
Change-Id: I99ff534074dd7ebbf12b53dcf53d6286925965d2
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/108760
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
bug 947300
Change-Id: Ib9f1b796faa94d8424cfca41c7ec29d5360ef60c
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/106983
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Disabling the ID_WAKEUP in the suspend causing the
otg state to change to host, so disabling it in otg
suspend. Also, renaming the readl calls to otg_readl
call.
Bug 993390
Change-Id: I2789ea31fefe4425eb63b6be3e70d794bddcfd83
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/106177
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Replaced kstrtoul with sscanf.
Change-Id: I1c82e92bf43d2ceba6ac3a7c0090394ba3497f13
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/105888
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Enable pmu vbus interrupt for Enterprise and Whistler
to save power by turning off controller clock
Change-Id: I691bdd76ca71d63d98f83e2a3a18bbfcfc16a473
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/105150
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Following enhancements are done:
a. Removed unnecessary apis.
b. Update the new platform data structures.
c. Removed unnecessary function call overheads.
Bug 887361
Change-Id: I148f2c0adb617c6f3100b84854bbd4ed1e953ecd
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/103601
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Changed the suspend resume logic as per new
UDC driver. Also, added few debug prints.
Bug 887361
Change-Id: I36ec1f160e8b4db54b5bd2153bdbf1c4fae1cc2a
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/99450
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
|
|
When there is PMU interrupt we need to enable controller
clock. For this currently, work is being schedule, removing
this as clock can be enabled directly without scheduling
any work.
bug 925958
bug 941899
Signed-off-by: Andy Carman <acarman@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/88777
(cherry picked from commit fc31c04b7124f30970e862dd1b21a97d18dca38e)
Change-Id: I8f6e7325771219488440226ddde97a32da228608
Reviewed-on: http://git-master/r/97882
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
In resuming from LP1, USB HOST is wrongly detected in Tegra2.
In that time, adb connection doesn't work also.
So clear only interrupt enabling bits to fix this problem.
Bug 960254
Bug 970012
Change-Id: I2f8e891ab2abcf8552526ff305d6f3a148076edd
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/96769
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Addition of callback function to nofity the plug and
un-plug of OTG cable to charger driver.
Change-Id: I6b16d051cafe0799cffe8a05d1510da27e841f8b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/97514
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Tested-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Add support for setting & reading back OTG state with sysfs
bug 947300
Change-Id: I178c3eb6e2b227ca11fee8916e38c6677d3e4cb0
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/96660
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Modified multiple if conditions to switch case.
Included a new OTG state case: undefined
Change-Id: Iba4cf1a79b8c220fc873966bd8a89f43a5648863
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/92832
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Allows OTG enable/disable only while USB OTG state
swithes between SUSPEND and HOST
Bug 937188
Change-Id: If651dfb19db37f8822e6d1473aa573246aca8d45
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/89111
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Addition of OTG support in smb349 charger driver
Change-Id: Ib38c9f4c06285ae07d93cfa3c6f5e1637aaa9460
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/86936
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
Resuming from LP1 is not working if usb device is connected
or disconnected while system in LP1 state.
So clear the otg interrupt in suspend and re-enable it while
resuming.
Bug 906171
Bug 935273
Signed-off-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-on: http://git-master/r/79449
(cherry picked from commit 54935893382a1b49a1a23ec39c6e479d163b910b)
Change-Id: Ia62f6fcd475905e5d3bcc93eae8a1e04c356111e
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82728
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
remove CONFIG_USB_HOTPLUG and add default_enable into tegra_ehci_platform_data
We can't use different def_config because whistler & ventana source code
is merged in same tree.
BUG 923705
Change-Id: I3dfdf237d80865831264f02104c89c8088101905
Reviewed-on: http://git-master/r/74574
Signed-off-by: Kurt Yi <kyi@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75888
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Conflicts:
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/board-ventana.c
drivers/misc/Kconfig
drivers/video/tegra/dc/hdmi.c
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
These changes have no effect if CONFIG_GCOV_KERNEL is not set in
defconfig. It is easier to trigger GCOV for kernel if this patch
is in by only setting the before mentioned flag.
Change-Id: I8aade309da2da62c4b3889bd84e4123ba8f182da
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/62999
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Rebase-Id: R4c238f707f1db600f188ae83426336753992b7be
|
|
OTG host register/unregister functions were duplicated identically
across all board files, making the code difficult to maintain (and
actually some boards did not get all some code fixes leading to the same
bug being met again and again). This patch moves this common code into
tegra-otg.c.
Bug 884315
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Change-Id: I99b118664f0481f6c5470411b43f36609e0feb52
Reviewed-on: http://git-master/r/61763
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
Rebase-Id: R0f6060514c017946cc9ae2ba2f04a1c134d14d9b
|
|
Added delay to make sure register is updated.
Bug 864005
Reviewed-on: http://git-master/r/51086
(cherry picked from commit 284f428041a15300ea65eb9ff76942a65e6628dd)
Change-Id: I4b0fa8e60664b9bf523fa6675bc1847e98703a55
Reviewed-on: http://git-master/r/54645
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Rebase-Id: R74770436a88b36850eca20115ce6258c953213e3
|
|
A device might be connected while CPU is in sleep mode.
In this case no interrupt will be triggered.
Force irq_work to recheck connected devices.
Bug 860693
Reviewed-on: http://git-master/r/40331
(cherry picked from commit 749e994e1e0010843e4a2d54e27a7f19274661a7)
Original-Change-Id: Ic793be7285dca123dd927931b0d92fc2c510a870
Reviewed-on: http://git-master/r/46934
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Rebase-Id: R41b408abb66ad9c28c8e7c2c48812dd7a292360e
|
|
Update the state of OTG when the device is entering suspend mode with
the device cable connected.
Bug 858490
Original-Change-Id: I7c8fb029f6e47418295d4f665cedf1774dd05e51
Reviewed-on: http://git-master/r/45006
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Bala Murali Krishna <balam@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Rebase-Id: R1bad22e4207e558065f307f942907659c1d110d4
|
|
Delaying the otg resume to occur after resuming all the devices.
This will make sure all the storage drivers are resumed before
un-register of the host controller driver.
Bug 843287
Reviewed-on: http://git-master/r/42412
(cherry picked from commit a60b2ef0800ba3bebcc6908d3c471d7b0e97423f)
Original-Change-Id: I4912872e03fbd05ac6cd4a7b7a9c7401dc05e480
Reviewed-on: http://git-master/r/44314
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rd0abb04da12a158dad74bd6a2cfb8c734a91fab7
|
|
Remove the stop host call when device is entering suspend. Need to be
detect the host device even after the device exits from LP state.
Bug 835678
Reviewed-on: http://git-master/r/39506
(cherry picked from commit 868eff5bd918be16ce7181a9f7efeb3d061370c7)
Original-Change-Id: I4b4150925f1c19463a58c73ca3dfc5c900bf83cf
Reviewed-on: http://git-master/r/44307
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Bala Murali Krishna <balam@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Rebase-Id: R322e43e3f42663091fb9b1e74f7c89877d99d6d5
|
|
In the function tegra_otg_probe(), usbd clock is kept on
after probe function completes. Fix this by disabling the clock
before exiting the probe function if usb hotplug is not enabled.
Bug 829628, 849248
Reviewed-on: http://git-master/r/39354
(cherry picked from commit 5115ea5375912d9c35487d3d3b6e51c3c81be25c)
Original-Change-Id: I9786a7eaa6c5ffc6bb7cd2fd792b0831a7ed788c
Reviewed-on: http://git-master/r/42375
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Rebase-Id: Rb5a33439a4a2c0a2ccf45cf46b4b9c64788cdb2e
|
|
usbd clock should not be disabled in the probe, otherwise
controller will not work.
Bug 836594
Original-Change-Id: I93754344d1c5944ea1220427b5d85eb343b44d1c
Reviewed-on: http://git-master/r/37300
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Rebase-Id: R17ad10568ef1974f39e1da21a28a30f23a2b229f
|
|
Add support for usb hotplug, this change will add the following:
vbus is left enabled.
Bug 796158
Bug 801533
Original-Change-Id: I282da0a37ab4311d9d9c61f75e03228bfb15698e
Reviewed-on: http://git-master/r/30041
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: Rfb360adede773d791d5d891fddd90e8c2a4de686
|
|
usbd clock is enabled during the probe and not disabled after the
functionality. Due to this clock reference count is non-zero and hence
usbd clock is not disabled during suspend. Fixed this by disabling
clock appropriately.
Bug 819720
Original-Change-Id: I2cd77be8b6e9ea69e0c65f0245f5e64805974c57
Reviewed-on: http://git-master/r/30340
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Rebase-Id: R97741988e9eb37950ad8411a540275f4260c1d38
|
|
otg probe function modified to keep clock enabled. This prevents
the unbalanced clock disable during otg suspend
Bug 811789
Original-Change-Id: Ia1d4dce2fc1595e5dd777a0846aadc3f3bfd417b
Reviewed-on: http://git-master/r/27771
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: If3fd9dd9afef35a2fac300a3aefec9536928586e
Rebase-Id: R412ea2799ed97ecc128114022e1197079879fe4f
|
|
After kernel merge usb is broken. This is due to
improper merge of usb files. Fixed all the merge
issues.
Bug 807534
Original-Change-Id: Id9f6ae0022a84bcc7b4e39965a469ae8947faa83
Reviewed-on: http://git-master/r/24806
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Original-Change-Id: Ib5f76a2660f8d761eac08721c7d147b8cc11c2bf
Rebase-Id: Ra6167912c4fed42f8b7e4efe6237a574ec3f4af4
|
|
usbd clock is enabled during the probe and not disabled after the
functionality. Due to this clock reference count is non-zero and hence
usbd clock is not disabled during suspend. Fixed this by disabling
clock appropriately.
- Since clocks are now turned off during suspend clock
needs to be enabled during fsl_udc_resume.
Bug 793834
Original-Change-Id: I4d153b98b7388547c13fa5e3d550f687183bfbe8
Reviewed-on: http://git-master/r/21652
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Original-Change-Id: I90231ac796b2fd778f7c5b9caf43a9756eddae77
Rebase-Id: Rcb29120d40c0e60bc634812d7919592b0fee400a
|
|
add sleep to let the clock stabilize before handling interrupt.
Bug 814888
Original-Change-Id: I7983017f04ad8b84eb6def0f4f7c580292e6e374
Reviewed-on: http://git-master/r/27592
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R767b777df158b84ff9224f7aafdbc413c1afdbbb
|
|
With check from!=to it remains on when device is resumes and usb cable state is
not changed. Always disable the usbd clock after work is done.
Bug 812197
Original-Change-Id: Id0f4bfc6d4eb8f82e010de35594720fc82bd77c4
Reviewed-on: http://git-master/r/27147
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R35fc696f02f226185dffbf98dce22d96bf0211ba
|