diff options
author | Martin Cerveny <m.cerveny@computer.org> | 2020-09-06 18:21:40 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-09-10 13:08:48 +0200 |
commit | 74ea06164cda81dc80e97790164ca533fd7e3087 (patch) | |
tree | 49d662eb3a0c74b716691d1fddddf30b3d618529 | |
parent | drm/sun4i: sun8i-csc: Secondary CSC register correction (diff) | |
download | linux-74ea06164cda81dc80e97790164ca533fd7e3087.tar.xz linux-74ea06164cda81dc80e97790164ca533fd7e3087.zip |
drm/sun4i: mixer: Extend regmap max_register
Better guess. Secondary CSC registers are from 0xF0000.
Signed-off-by: Martin Cerveny <m.cerveny@computer.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200906162140.5584-3-m.cerveny@computer.org
-rw-r--r-- | drivers/gpu/drm/sun4i/sun8i_mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c index cc4fb916318f..c3304028e3dc 100644 --- a/drivers/gpu/drm/sun4i/sun8i_mixer.c +++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c @@ -307,7 +307,7 @@ static struct regmap_config sun8i_mixer_regmap_config = { .reg_bits = 32, .val_bits = 32, .reg_stride = 4, - .max_register = 0xbfffc, /* guessed */ + .max_register = 0xffffc, /* guessed */ }; static int sun8i_mixer_of_get_id(struct device_node *node) |