Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 140
    • Issues 140
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • linux
  • Merge requests
  • !421

improve SD cardreader power management

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Martin Kepplinger requested to merge martin.kepplinger/linux-next:scsi_sd_pm into pureos/byzantium Jun 28, 2021
  • Overview 4
  • Commits 5
  • Pipelines 4
  • Changes 5

this reverts our current solution that changes the global scsi error handling, which is tricky and hard to maintain.

instead, use an approach that is at least more likely to be accepted upstream: properly add a kernel-internal flag for cardreaders and only handle the problem in the sd driver. The solution was suggested by Bart Van Assche a few months ago and seems to work.

I need you to test this though ( cat /sys/bus/usb/devices/1-1/power/runtime_status while mounting / using / unmounting an SD card)

This shouldn't change anything! It's still a great improvement in maintainability and helps with mainlining. thanks for testing!

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: scsi_sd_pm