staging: gma500: cleanup the SDVO messages
authorAlan Cox <alan@linux.jf.intel.com>
Fri, 1 Apr 2011 17:42:22 +0000 (18:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 18:36:32 +0000 (11:36 -0700)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/psb_drv.c
drivers/staging/gma500/psb_intel_sdvo.c

index be8f11d19ee2be1c74360af569297b4d0577a8b8..8978ed657857bbd7d07731eacb65e5170423c74d 100644 (file)
@@ -493,7 +493,8 @@ static int psb_do_init(struct drm_device *dev)
         PSB_WSGX32(PSB_RSGX32(PSB_CR_BIF_CTRL) | _PSB_MMU_ER_MASK,
                                                        PSB_CR_BIF_CTRL);
        psb_spank(dev_priv);
-       
+
+       printk(KERN_INFO "TWOD base %08lX\n", (u32) pg->mmu_gatt_start);
        PSB_WSGX32(pg->mmu_gatt_start, PSB_CR_BIF_TWOD_REQ_BASE);
 
        return 0;
index 731a5a2261d327797f0d5e149b654ed03e571af2..d005227b95d241e19b8a3b1543d67af61b31f531 100644 (file)
@@ -204,7 +204,7 @@ static void psb_intel_sdvo_write_cmd(struct psb_intel_output *psb_intel_output,
        struct psb_intel_sdvo_priv *sdvo_priv = psb_intel_output->dev_priv;
        int i;
 
-       if (1) {
+       if (0) {
                DRM_DEBUG("%s: W: %02X ", SDVO_NAME(sdvo_priv), cmd);
                for (i = 0; i < args_len; i++)
                        printk(KERN_INFO"%02X ", ((u8 *) args)[i]);
@@ -266,7 +266,7 @@ static u8 psb_intel_sdvo_read_response(
                                         SDVO_I2C_CMD_STATUS,
                                         &status);
 
-               if (1) {
+               if (0) {
                        DRM_DEBUG("%s: R: ", SDVO_NAME(sdvo_priv));
                        for (i = 0; i < response_len; i++)
                                printk(KERN_INFO"%02X ", ((u8 *) response)[i]);