mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
rk hdmi sysfs: only plug in hdmi use screen scale
This commit is contained in:
@@ -110,7 +110,10 @@ static int hdmi_set_scale(struct rk_display_device *device, int direction, int v
|
||||
|
||||
if(!hdmi || value < 0 || value > 100)
|
||||
return -1;
|
||||
|
||||
|
||||
if(!hdmi->hotplug)
|
||||
return 0;
|
||||
|
||||
if(direction == DISPLAY_SCALE_X)
|
||||
hdmi->xscale = value;
|
||||
else if(direction == DISPLAY_SCALE_Y)
|
||||
|
||||
Reference in New Issue
Block a user