diff options
| author | Jernej Skrabec <[email protected]> | 2023-04-10 10:21:15 +0200 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2023-04-12 00:17:21 +0100 |
| commit | 83118bfa0482db31e2084af771d3a8e491b7a880 (patch) | |
| tree | 58c77d43eee354631981d79ce99873cbc4723293 | |
| parent | 7742eac7afd66870ae1454c8ae07b982fa302c2f (diff) | |
sunxi: Make bit delay function in H616 DRAM code void
Mentioned function result is always true and result isn't checked
anyway. Let's make it void.
Reviewed-by: Andre Przywara <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
| -rw-r--r-- | arch/arm/mach-sunxi/dram_sun50i_h616.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-sunxi/dram_sun50i_h616.c b/arch/arm/mach-sunxi/dram_sun50i_h616.c index 7d2434309b0..3fe45845b78 100644 --- a/arch/arm/mach-sunxi/dram_sun50i_h616.c +++ b/arch/arm/mach-sunxi/dram_sun50i_h616.c @@ -572,7 +572,7 @@ static bool mctl_phy_write_training(struct dram_para *para) return result; } -static bool mctl_phy_bit_delay_compensation(struct dram_para *para) +static void mctl_phy_bit_delay_compensation(struct dram_para *para) { u32 *ptr; int i; @@ -683,8 +683,6 @@ static bool mctl_phy_bit_delay_compensation(struct dram_para *para) setbits_le32(SUNXI_DRAM_PHY0_BASE + 0x54, 0x80); } - - return true; } static bool mctl_phy_init(struct dram_para *para) |
