Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • linux-vf linux-vf
  • 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
  • Packages and registries
    • Packages and registries
    • Container Registry
  • 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
  • linux-vflinux-vf
  • Repository
Switch branch/tag
  • linux-vf
  • drivers
  • mmc
  • core
  • mmc.c
Find file BlameHistoryPermalink
  • Subhash Jadavani's avatar
    mmc: core: fix power class selection · 93fc5a47
    Subhash Jadavani authored Apr 03, 2012
    
    
    mmc_select_powerclass() function returns error if eMMC
    VDD level supported by host is between 2.7v to 3.2v.
    
    According to eMMC specification, valid voltage for high
    voltage cards is 2.7v to 3.6v. This patch ensures that
    2.7v to 3.6v VDD range is treated as valid range.
    
    Also, failure to set the power class shouldn't be treated
    as fatal error because even if setting the power class
    fails, card can still work in default power class.
    If mmc_select_powerclass() returns error, just print
    the warning message and go ahead with rest of the card
    initialization.
    
    Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
    Acked-by: default avatarGirish K S <girish.shivananjappa@linaro.org>
    Reviewed-by: default avatarNamjae Jeon <linkinjeon@gmail.com>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    93fc5a47