mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
drm/nvc0: allow INIT_GPIO
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
4b223eefe4
commit
080feda59c
1 changed files with 1 additions and 1 deletions
|
@ -3142,7 +3142,7 @@ init_gpio(struct nvbios *bios, uint16_t offset, struct init_exec *iexec)
|
|||
const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c };
|
||||
int i;
|
||||
|
||||
if (dev_priv->card_type != NV_50) {
|
||||
if (dev_priv->card_type < NV_50) {
|
||||
NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue