diff --git a/drivers/video/rockchip/hdmi/rk_hdmi_sysfs.c b/drivers/video/rockchip/hdmi/rk_hdmi_sysfs.c index ed0d2e09762c..e0e6bf4b67ff 100755 --- a/drivers/video/rockchip/hdmi/rk_hdmi_sysfs.c +++ b/drivers/video/rockchip/hdmi/rk_hdmi_sysfs.c @@ -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)