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
7b6471a9
Commit
7b6471a9
authored
Nov 05, 2015
by
Ulf Hansson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmc: core: Remove MMC_CAP_RUNTIME_RESUME as it's redundant
Signed-off-by:
Ulf Hansson
<
ulf.hansson@linaro.org
>
parent
c29536e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10 deletions
+0
-10
drivers/mmc/host/dw_mmc-rockchip.c
drivers/mmc/host/dw_mmc-rockchip.c
+0
-8
drivers/mmc/host/mtk-sd.c
drivers/mmc/host/mtk-sd.c
+0
-1
include/linux/mmc/host.h
include/linux/mmc/host.h
+0
-1
No files found.
drivers/mmc/host/dw_mmc-rockchip.c
View file @
7b6471a9
...
@@ -239,20 +239,12 @@ static int dw_mci_rockchip_init(struct dw_mci *host)
...
@@ -239,20 +239,12 @@ static int dw_mci_rockchip_init(struct dw_mci *host)
return
0
;
return
0
;
}
}
/* Common capabilities of RK3288 SoC */
static
unsigned
long
dw_mci_rk3288_dwmmc_caps
[
4
]
=
{
MMC_CAP_RUNTIME_RESUME
,
/* emmc */
MMC_CAP_RUNTIME_RESUME
,
/* sdmmc */
MMC_CAP_RUNTIME_RESUME
,
/* sdio0 */
MMC_CAP_RUNTIME_RESUME
,
/* sdio1 */
};
static
const
struct
dw_mci_drv_data
rk2928_drv_data
=
{
static
const
struct
dw_mci_drv_data
rk2928_drv_data
=
{
.
prepare_command
=
dw_mci_rockchip_prepare_command
,
.
prepare_command
=
dw_mci_rockchip_prepare_command
,
.
init
=
dw_mci_rockchip_init
,
.
init
=
dw_mci_rockchip_init
,
};
};
static
const
struct
dw_mci_drv_data
rk3288_drv_data
=
{
static
const
struct
dw_mci_drv_data
rk3288_drv_data
=
{
.
caps
=
dw_mci_rk3288_dwmmc_caps
,
.
prepare_command
=
dw_mci_rockchip_prepare_command
,
.
prepare_command
=
dw_mci_rockchip_prepare_command
,
.
set_ios
=
dw_mci_rk3288_set_ios
,
.
set_ios
=
dw_mci_rk3288_set_ios
,
.
execute_tuning
=
dw_mci_rk3288_execute_tuning
,
.
execute_tuning
=
dw_mci_rk3288_execute_tuning
,
...
...
drivers/mmc/host/mtk-sd.c
View file @
7b6471a9
...
@@ -1543,7 +1543,6 @@ static int msdc_drv_probe(struct platform_device *pdev)
...
@@ -1543,7 +1543,6 @@ static int msdc_drv_probe(struct platform_device *pdev)
mmc
->
f_min
=
host
->
src_clk_freq
/
(
4
*
255
);
mmc
->
f_min
=
host
->
src_clk_freq
/
(
4
*
255
);
mmc
->
caps
|=
MMC_CAP_ERASE
|
MMC_CAP_CMD23
;
mmc
->
caps
|=
MMC_CAP_ERASE
|
MMC_CAP_CMD23
;
mmc
->
caps
|=
MMC_CAP_RUNTIME_RESUME
;
/* MMC core transfer sizes tunable parameters */
/* MMC core transfer sizes tunable parameters */
mmc
->
max_segs
=
MAX_BD_NUM
;
mmc
->
max_segs
=
MAX_BD_NUM
;
mmc
->
max_seg_size
=
BDMA_DESC_BUFLEN
;
mmc
->
max_seg_size
=
BDMA_DESC_BUFLEN
;
...
...
include/linux/mmc/host.h
View file @
7b6471a9
...
@@ -259,7 +259,6 @@ struct mmc_host {
...
@@ -259,7 +259,6 @@ struct mmc_host {
#define MMC_CAP_UHS_SDR50 (1 << 17)
/* Host supports UHS SDR50 mode */
#define MMC_CAP_UHS_SDR50 (1 << 17)
/* Host supports UHS SDR50 mode */
#define MMC_CAP_UHS_SDR104 (1 << 18)
/* Host supports UHS SDR104 mode */
#define MMC_CAP_UHS_SDR104 (1 << 18)
/* Host supports UHS SDR104 mode */
#define MMC_CAP_UHS_DDR50 (1 << 19)
/* Host supports UHS DDR50 mode */
#define MMC_CAP_UHS_DDR50 (1 << 19)
/* Host supports UHS DDR50 mode */
#define MMC_CAP_RUNTIME_RESUME (1 << 20)
/* Resume at runtime_resume. */
#define MMC_CAP_DRIVER_TYPE_A (1 << 23)
/* Host supports Driver Type A */
#define MMC_CAP_DRIVER_TYPE_A (1 << 23)
/* Host supports Driver Type A */
#define MMC_CAP_DRIVER_TYPE_C (1 << 24)
/* Host supports Driver Type C */
#define MMC_CAP_DRIVER_TYPE_C (1 << 24)
/* Host supports Driver Type C */
#define MMC_CAP_DRIVER_TYPE_D (1 << 25)
/* Host supports Driver Type D */
#define MMC_CAP_DRIVER_TYPE_D (1 << 25)
/* Host supports Driver Type D */
...
...
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