浏览代码

drm/nvd9/therm: handle another kind of PWM fan

Signed-off-by: Martin Peres <martin.peres@free.fr>
Tested-by: SaveTheRobots <john.rowley08@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Martin Peres 11 年之前
父节点
当前提交
6679b2ccc9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/gpu/drm/nouveau/core/subdev/therm/nvd0.c

+ 1 - 0
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;
 		}