diff options
author | xingyu.wu <xingyu.wu@starfivetech.com> | 2022-05-13 09:36:17 +0300 |
---|---|---|
committer | Jianlong Huang <jianlong.huang@starfivetech.com> | 2022-06-13 06:39:15 +0300 |
commit | 991b7037f15012cd2b6b2d174e61e8fb5fc8698d (patch) | |
tree | 8d5cfd91e5877202d3d382d3c4f2f3dae43df4d1 | |
parent | b6db4d52558fbe4dfbb7bcd07ba7014f73192c72 (diff) | |
download | linux-991b7037f15012cd2b6b2d174e61e8fb5fc8698d.tar.xz |
modify SOC_STARFIVE macro to SOC_STARFIVE_VIC7100 in DMA
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
-rwxr-xr-x | drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c index d92defd67166..24cc947070c2 100755 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c @@ -88,7 +88,7 @@ static inline void axi_chan_config_write(struct axi_dma_chan *chan, cfg_lo = (config->dst_multblk_type << CH_CFG_L_DST_MULTBLK_TYPE_POS | config->src_multblk_type << CH_CFG_L_SRC_MULTBLK_TYPE_POS); - if (!IS_ENABLED(CONFIG_SOC_STARFIVE) && chan->chip->dw->hdata->reg_map_8_channels) { + if (!IS_ENABLED(CONFIG_SOC_STARFIVE_VIC7100) && chan->chip->dw->hdata->reg_map_8_channels) { cfg_hi = config->tt_fc << CH_CFG_H_TT_FC_POS | config->hs_sel_src << CH_CFG_H_HS_SEL_SRC_POS | config->hs_sel_dst << CH_CFG_H_HS_SEL_DST_POS | |