mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
drm/nouveau/nvd9: Fix GPIO initialisation sequence.
Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
5c5ed6e2cd
commit
af3289e963
@ -387,7 +387,7 @@ nouveau_gpio_reset(struct drm_device *dev)
|
||||
if (dev_priv->card_type >= NV_D0) {
|
||||
nv_mask(dev, 0x00d610 + (line * 4), 0xff, unk0);
|
||||
if (unk1--)
|
||||
nv_mask(dev, 0x00d640 + (unk1 * 4), 0xff, line);
|
||||
nv_mask(dev, 0x00d740 + (unk1 * 4), 0xff, line);
|
||||
} else
|
||||
if (dev_priv->card_type >= NV_50) {
|
||||
static const u32 regs[] = { 0xe100, 0xe28c };
|
||||
|
Loading…
Reference in New Issue
Block a user