video: mxc: print error messages with dev_err() rather than dev_dbg()
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Jul 2014 08:47:30 +0000 (10:47 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Jul 2014 08:47:30 +0000 (10:47 +0200)
drivers/video/mxc/ldb.c
drivers/video/mxc/mxc_ipuv3_fb.c

index 2c7d647..4b669db 100644 (file)
@@ -258,32 +258,32 @@ static int ldb_get_of_property(struct platform_device *pdev,
 
        err = of_property_read_string(np, "mode", (const char **)&mode);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property mode fail\n");
+               dev_err(&pdev->dev, "get of property mode fail\n");
                return err;
        }
        err = of_property_read_u32(np, "ext_ref", &ext_ref);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property ext_ref fail\n");
+               dev_err(&pdev->dev, "get of property ext_ref fail\n");
                return err;
        }
        err = of_property_read_u32(np, "ipu_id", &ipu_id);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property ipu_id fail\n");
+               dev_err(&pdev->dev, "get of property ipu_id fail\n");
                return err;
        }
        err = of_property_read_u32(np, "disp_id", &disp_id);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property disp_id fail\n");
+               dev_err(&pdev->dev, "get of property disp_id fail\n");
                return err;
        }
        err = of_property_read_u32(np, "sec_ipu_id", &sec_ipu_id);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property sec_ipu_id fail\n");
+               dev_err(&pdev->dev, "get of property sec_ipu_id fail\n");
                return err;
        }
        err = of_property_read_u32(np, "sec_disp_id", &sec_disp_id);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property sec_disp_id fail\n");
+               dev_err(&pdev->dev, "get of property sec_disp_id fail\n");
                return err;
        }
 
index 9ba601f..1dbd2c6 100644 (file)
@@ -2260,32 +2260,32 @@ static int mxcfb_get_of_property(struct platform_device *pdev,
 
        err = of_property_read_string(np, "disp_dev", &disp_dev);
        if (err < 0) {
-               dev_dbg(&pdev->dev, "get of property disp_dev fail\n");
+               dev_err(&pdev->dev, "get of property disp_dev fail\n");
                return err;
        }
        err = of_property_read_string(np, "mode_str", &mode_str);
        if (err < 0) {
-               dev_dbg(&pdev->dev, "get of property mode_str fail\n");
+               dev_err(&pdev->dev, "get of property mode_str fail\n");
                return err;
        }
        err = of_property_read_string(np, "interface_pix_fmt", &pixfmt);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property pix fmt fail\n");
+               dev_err(&pdev->dev, "get of property pix fmt fail\n");
                return err;
        }
        err = of_property_read_u32(np, "default_bpp", &bpp);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property bpp fail\n");
+               dev_err(&pdev->dev, "get of property bpp fail\n");
                return err;
        }
        err = of_property_read_u32(np, "int_clk", &int_clk);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property int_clk fail\n");
+               dev_err(&pdev->dev, "get of property int_clk fail\n");
                return err;
        }
        err = of_property_read_u32(np, "late_init", &late_init);
        if (err) {
-               dev_dbg(&pdev->dev, "get of property late_init fail\n");
+               dev_err(&pdev->dev, "get of property late_init fail\n");
                return err;
        }