From: Martin Peres Date: Mon, 12 May 2014 13:05:01 +0000 (+0200) Subject: drm/nvd9/therm: handle another kind of PWM fan X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6679b2ccc914e84384b1acf0de4423e3738cce9f;p=openwrt%2Fstaging%2Fblogic.git drm/nvd9/therm: handle another kind of PWM fan Signed-off-by: Martin Peres Tested-by: SaveTheRobots Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c b/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c index 43fec17ea540..bbf117be572f 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c @@ -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; }