drm/nvd9/therm: handle another kind of PWM fan
authorMartin Peres <martin.peres@free.fr>
Mon, 12 May 2014 13:05:01 +0000 (15:05 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 20 May 2014 06:28:53 +0000 (16:28 +1000)
Signed-off-by: Martin Peres <martin.peres@free.fr>
Tested-by: SaveTheRobots <john.rowley08@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c

index 43fec17ea540b6c53af704931d4baf29d2391e4e..bbf117be572f4617cff0fd06907fb2a13977ae93 100644 (file)
@@ -40,6 +40,7 @@ pwm_info(struct nouveau_therm *therm, int line)
                case 0x00: return 2;
                case 0x19: return 1;
                case 0x1c: return 0;
+               case 0x1e: return 2;
                default:
                        break;
                }