Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C Ch Linux Perf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • Ch Linux Perf
  • Repository
Switch branch/tag
  • ch-linux-perf
  • drivers
  • i2c
  • busses
  • i2c-mt65xx.c
Find file BlameHistoryPermalink
  • Qii Wang's avatar
    i2c: mediatek: Disable i2c start_en and clear intr_stat brfore reset · fed1bd51
    Qii Wang authored May 27, 2021
    The i2c controller driver do dma reset after transfer timeout,
    but sometimes dma reset will trigger an unexpected DMA_ERR irq.
    It will cause the i2c controller to continuously send interrupts
    to the system and cause soft lock-up. So we need to disable i2c
    start_en and clear intr_stat to stop i2c controller before dma
    reset when transfer timeout.
    
    Fixes: aafced67
    
    ("i2c: mediatek: move dma reset before i2c reset")
    Signed-off-by: default avatarQii Wang <qii.wang@mediatek.com>
    Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
    fed1bd51

Replace i2c-mt65xx.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.