Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
b303c16c
Commit
b303c16c
authored
May 28, 2020
by
Ulf Hansson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes' into next
parents
91132078
202500d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
drivers/mmc/core/block.c
drivers/mmc/core/block.c
+1
-1
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.c
+6
-3
No files found.
drivers/mmc/core/block.c
View file @
b303c16c
...
...
@@ -2484,8 +2484,8 @@ static int mmc_rpmb_chrdev_release(struct inode *inode, struct file *filp)
struct
mmc_rpmb_data
*
rpmb
=
container_of
(
inode
->
i_cdev
,
struct
mmc_rpmb_data
,
chrdev
);
put_device
(
&
rpmb
->
dev
);
mmc_blk_put
(
rpmb
->
md
);
put_device
(
&
rpmb
->
dev
);
return
0
;
}
...
...
drivers/mmc/host/sdhci.c
View file @
b303c16c
...
...
@@ -4138,9 +4138,6 @@ int sdhci_setup_host(struct sdhci_host *host)
mmc_hostname
(
mmc
),
host
->
version
);
}
if
(
host
->
quirks
&
SDHCI_QUIRK_BROKEN_CQE
)
mmc
->
caps2
&=
~
MMC_CAP2_CQE
;
if
(
host
->
quirks
&
SDHCI_QUIRK_FORCE_DMA
)
host
->
flags
|=
SDHCI_USE_SDMA
;
else
if
(
!
(
host
->
caps
&
SDHCI_CAN_DO_SDMA
))
...
...
@@ -4669,6 +4666,12 @@ int __sdhci_add_host(struct sdhci_host *host)
struct
mmc_host
*
mmc
=
host
->
mmc
;
int
ret
;
if
((
mmc
->
caps2
&
MMC_CAP2_CQE
)
&&
(
host
->
quirks
&
SDHCI_QUIRK_BROKEN_CQE
))
{
mmc
->
caps2
&=
~
MMC_CAP2_CQE
;
mmc
->
cqe_ops
=
NULL
;
}
host
->
complete_wq
=
alloc_workqueue
(
"sdhci"
,
flags
,
0
);
if
(
!
host
->
complete_wq
)
return
-
ENOMEM
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment