diff options
Diffstat (limited to 'drivers/gpu/vga/vga_switcheroo.c')
| -rw-r--r-- | drivers/gpu/vga/vga_switcheroo.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/vga/vga_switcheroo.c b/drivers/gpu/vga/vga_switcheroo.c index ec0ae2d1686..6866448083b 100644 --- a/drivers/gpu/vga/vga_switcheroo.c +++ b/drivers/gpu/vga/vga_switcheroo.c @@ -623,7 +623,8 @@ static int vga_switcheroo_runtime_suspend(struct device *dev)  	ret = dev->bus->pm->runtime_suspend(dev);  	if (ret)  		return ret; - +	if (vgasr_priv.handler->switchto) +		vgasr_priv.handler->switchto(VGA_SWITCHEROO_IGD);  	vga_switcheroo_power_switch(pdev, VGA_SWITCHEROO_OFF);  	return 0;  }  | 
