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-Tag: v4.14-rc1~7496^2~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6679b2ccc914e84384b1acf0de4423e3738cce9f;p=platform%2Fkernel%2Flinux-rpi.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 43fec17..bbf117b 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; }