if (status < 0)
                return status;
 
-       tmp = *((u32 *) value);
+       tmp = le32_to_cpu(*((u32 *) value));
 
        switch (mode) {
        case POLARIS_AVMODE_ENXTERNAL_AV:
        if (status > 0)
                return status;
 
-       tmp = *((u32 *) value);
+       tmp = le32_to_cpu(*((u32 *) value));
        tmp &= (~PWR_MODE_MASK);
 
        value[0] = (u8) tmp;
        if (status < 0)
                return status;
 
-       tmp = *((u32 *) value);
+       tmp = le32_to_cpu(*((u32 *) value));
        tmp |= ep_mask;
        value[0] = (u8) tmp;
        value[1] = (u8) (tmp >> 8);
        if (status < 0)
                return status;
 
-       tmp = *((u32 *) value);
+       tmp = le32_to_cpu(*((u32 *) value));
        tmp &= (~ep_mask);
        value[0] = (u8) tmp;
        value[1] = (u8) (tmp >> 8);
 
        uif = udev->actconfig->interface[dev->current_pcb_config.
                       hs_config_info[0].interface_info.video_index + 1];
 
-       dev->video_mode.end_point_addr = le16_to_cpu(uif->altsetting[0].
-                       endpoint[isoc_pipe].desc.bEndpointAddress);
+       dev->video_mode.end_point_addr = uif->altsetting[0].
+                       endpoint[isoc_pipe].desc.bEndpointAddress;
 
        dev->video_mode.num_alt = uif->num_altsetting;
        cx231xx_info("EndPoint Addr 0x%x, Alternate settings: %i\n",
                                       vanc_index + 1];
 
        dev->vbi_mode.end_point_addr =
-           le16_to_cpu(uif->altsetting[0].endpoint[isoc_pipe].desc.
-                       bEndpointAddress);
+           uif->altsetting[0].endpoint[isoc_pipe].desc.
+                       bEndpointAddress;
 
        dev->vbi_mode.num_alt = uif->num_altsetting;
        cx231xx_info("EndPoint Addr 0x%x, Alternate settings: %i\n",
                                       hanc_index + 1];
 
        dev->sliced_cc_mode.end_point_addr =
-           le16_to_cpu(uif->altsetting[0].endpoint[isoc_pipe].desc.
-                       bEndpointAddress);
+           uif->altsetting[0].endpoint[isoc_pipe].desc.
+                       bEndpointAddress;
 
        dev->sliced_cc_mode.num_alt = uif->num_altsetting;
        cx231xx_info("EndPoint Addr 0x%x, Alternate settings: %i\n",
                                               ts1_index + 1];
 
                dev->ts1_mode.end_point_addr =
-                   le16_to_cpu(uif->altsetting[0].endpoint[isoc_pipe].
-                               desc.bEndpointAddress);
+                   uif->altsetting[0].endpoint[isoc_pipe].
+                               desc.bEndpointAddress;
 
                dev->ts1_mode.num_alt = uif->num_altsetting;
                cx231xx_info("EndPoint Addr 0x%x, Alternate settings: %i\n",
 
        pcb config it is related to */
        cx231xx_read_ctrl_reg(dev, VRT_GET_REGISTER, BOARD_CFG_STAT, data, 4);
 
-       config_info = *((u32 *) data);
+       config_info = le32_to_cpu(*((u32 *) data));
        usb_speed = (u8) (config_info & 0x1);
 
        /* Verify this device belongs to Bus power or Self power device */