Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.1.r1][DNM] Add missing commits from LA.UM.7.1.r1-16600-sm8150.0 #2330

Open
wants to merge 15 commits into
base: aosp/LA.UM.7.1.r1
Choose a base branch
from

Commits on Sep 7, 2020

  1. mhi: core: wakeup waiters if early error is received

    The esoc framework notifies MHI of a device assert using early
    hooks. As part of moving MHI to an error state, wake up any
    waiting threads so they can bail out early.
    
    CRs-Fixed: 2500104
    Change-Id: I8bf9b085cef078f0692ad198ca1ba2a8149c3172
    Acked-by: Bhaumik Vasav Bhatt <[email protected]>
    Signed-off-by: Sujeev Dias <[email protected]>
    Sujeev Dias authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    17e586f View commit details
    Browse the repository at this point in the history
  2. pci: framework: skip PCI restore in pci_pm_resume if no_d3hot is set

    PCI devices with no_d3hot set do not need its configuration
    space restored in pci_pm_resume.
    
    Change-Id: Ia92f5278bfbd35d082fce53d9b2de9397a69b942
    Signed-off-by: Tony Truong <[email protected]>
    Tony Truong authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    5f98983 View commit details
    Browse the repository at this point in the history
  3. f_fs: Return correct USB endpoint descriptor to user space daemon

    Some of user space daemon like ADB queries endpoint descriptor using
    ioctl to know wMaxPacketSize value. Based on wMaxPacketSize value it
    queues additional buffer to read zero length packet if expected read
    buffer size is multiple of wMaxPacketSize. Currently driver is missing
    handling for super speed plus case which results into sending full
    speed related USB endpoint descriptor (i.e. wMaxPacketSize 64 bytes).
    Hence when adbd is expecting 64 bytes packet from host, it queues one
    more additional buffer. This results into mismatch of ADB command and
    response when multiple ADB commands are used and causing different ADB
    related stability issues. Fix this issue adding super speed plus check
    with FUNCTIONFS_ENDPOINT_DESC ioctl command.
    
    Change-Id: I9416295c07c2d98f9d32df43d7e506f975da15a2
    Signed-off-by: Mayank Rana <[email protected]>
    XNUBIA authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    cee46ae View commit details
    Browse the repository at this point in the history
  4. usb: phy: snps: Turn off CXO clock from msm_hsphy_dpdm_regulator_enable

    dpdm_regulator_enable() function turn on the CXO clk to program the phy
    registers to put PHY in non-driving mode for charger detection. In charger
    connected case phy driver voting for CXO clock in dpdm_regulator_enable
    but does not disabling it which is preventing the system from
    vdd minimization. Hence fix this issue by turning off the CXO clk
    from dpdm_regulator_enable.
    
    Change-Id: Ib3a04eedcef625443077199d5920884f114db82d
    Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
    Chandana Kishori Chiluveru authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    547480c View commit details
    Browse the repository at this point in the history
  5. mmc: core: Update SD card removal logic based on cd gpio state

    Update SD card removal event processing logic. Instead of pinging
    the card to know the card presence rely on card-detect gpio state.
    
    On multi-card tray designs, the same card-tray would be used for SD
    card and SIM cards. If SD card is placed at the rightmost location
    in the tray, then SIM card may come in contact with SD card power-
    supply while removing the tray. It may result in SIM damage.
    
    For protecting SIM from this issue, in multi-card tray designs,
    a h/w fix done such that pmic gets a notification of SD card
    removal event (through hardwiring) and it turns off the SD card
    voltage regulators immediately. All this will be done much before SD
    card driver starts processing card removal event.
    
    To support this design, SD card driver shouldn't turn-on the
    regulator while processing card removal event. But the present mmc
    driver turns-on regulator (multiple times if the card was in suspend
    state). To avoid turning on SD card regulator in card removal path,
    updating the card removal processing logic is based on card detect
    gpio state.
    
    Change-Id: I13708a60c9378519713ebec8071ae3b130012a93
    Signed-off-by: Veerabhadrarao Badiganti <[email protected]>
    Signed-off-by: Sarthak Garg <[email protected]>
    Veerabhadrarao Badiganti authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    faadeea View commit details
    Browse the repository at this point in the history
  6. Revert "mmc: core: rescan for card if deferred resume fails"

    This reverts commit 9de18ca.
    Reverting this change as this is introducing race condition with
    sdcard plug out scenario and leading to device crash.
    	1. Deferred resume kicks in
    	2. SDCard is plugged out
    	3. Deferred resume failed
    	4. SDCard detection scheduled as resume fails
    	5. Device crashing
    
    Change-Id: I6fd81d6c21be4a0e3139246c9d66959010fd240c
    Signed-off-by: Ram Prakash Gupta <[email protected]>
    Signed-off-by: Sarthak Garg <[email protected]>
    Ram Prakash Gupta authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    f2ac283 View commit details
    Browse the repository at this point in the history
  7. mmc: core: Reset on error during deferred resume

    If resume fails, there is no way to handle it now.
    Also there's no attempt to recover from it.
    This leads to lot of warnings while issuing requests.
    
    Check for resume errors & reset the stack on error as
    an attempt to recover from it.
    
    Change-Id: Ie4d6d2a34c2c7a8154696e93d85e50d60410e0c2
    Signed-off-by: Asutosh Das <[email protected]>
    Signed-off-by: Ram Prakash Gupta <[email protected]>
    Signed-off-by: Sarthak Garg <[email protected]>
    Asutosh Das authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    d91856c View commit details
    Browse the repository at this point in the history
  8. mmc: sd: set card removed to true

    Sometimes when the card is removed and a request
    is in queue the resume fails. But there's no way
    to inform the in-flight request that the card is
    removed since the resume itself fails and rescan
    is waiting for claim_host which was acquired by
    the in-flight request.
    
    This request percolates to platform driver which
    sees that the pre-requisites to issue the request
    are not met i.e. the clocks are OFF.
    So it tries to dump the registers and results in a
    NoC error.
    
    Set the card removed when resume fails to avoid this
    problem.
    
    CRs-fixed: 2430862
    Change-Id: I171ad435ec11c1212e6528592b8db43cd0171b11
    Signed-off-by: Asutosh Das <[email protected]>
    Signed-off-by: Ram Prakash Gupta <[email protected]>
    Signed-off-by: Sarthak Garg <[email protected]>
    Asutosh Das authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    cb03373 View commit details
    Browse the repository at this point in the history
  9. msm: vidc: Remove extraneous register read in power off

    The read was introduced with commit ID:
    8e8bb1a
    and it is a leftover from cherry picking the commit with the ID:
    e8c6f4c.
    
    Signed-off-by: Stefan Rücker <[email protected]>
    stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    4343da0 View commit details
    Browse the repository at this point in the history
  10. ARM: dts: msm: Add dtsi support for v150_110 camera

    Camera CAMNOC, ICP, IPE, BPS, CDM, SMMU, JPEG, IFE, PPI nodes
    are added for chipsets having v150_110 camera.
    
    Change-Id: Iea631ba2f7a48fa1a144769097acdc865cfbbbdc
    Signed-off-by: Chandan Kumar Jha <[email protected]>
    Chandan Kumar Jha authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    7fbb163 View commit details
    Browse the repository at this point in the history
  11. ARM: dts: msm: Add PPI clock sources to bring up v150_110 camera

    PPI clock sources are added for chipsets having v150_110 camera.
    
    Change-Id: Ibab7f009fce45ea309f13501efb2f16fafb87ed6
    Signed-off-by: Chandan Kumar Jha <[email protected]>
    Chandan Kumar Jha authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    86e93bf View commit details
    Browse the repository at this point in the history
  12. ARM: dts: msm: Add AHB-IB voting bandwidth to bring up v150_110 camera

    AHB-IB bandwidth are added for chipsets having v150_110 camera.
    
    Change-Id: I6df5d35fa5c9bf2f7b056f9f5333147c3564fa00
    Signed-off-by: Chandan Kumar Jha <[email protected]>
    Chandan Kumar Jha authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    cc2b54e View commit details
    Browse the repository at this point in the history
  13. ARM: dts: qcom: Add csiphy, cci for atoll

    Add CCI,CSIPHY hardware nodes, clocks, gpios
    to control the camera sensors for atoll.
    
    Change-Id: I6f2272070941686c06ec52d964a968123ce6ded5
    Signed-off-by: Shankar Ravi <[email protected]>
    Shankar Ravi authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    6e0da9f View commit details
    Browse the repository at this point in the history
  14. ARM: dts: qcom: Enable phy regulators for atoll

    Enable and add csiphy regulators in csiphy nodes for atoll.
    
    Change-Id: Ic394ee0be86fb1b0cba8a51a8b134eb426681c78
    Signed-off-by: Shravan Nevatia <[email protected]>
    Shravan Nevatia authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    630b677 View commit details
    Browse the repository at this point in the history
  15. ARM: dts: msm: Add camera sensor nodes for atoll

    Add sensor, actuator, eeprom and flash nodes for atoll
    
    Change-Id: I754c9396dae6d2635bd092ca816591f956624076
    Signed-off-by: Shravan Nevatia <[email protected]>
    Shravan Nevatia authored and stefanhh0 committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    5ec379b View commit details
    Browse the repository at this point in the history