diff options
Diffstat (limited to 'drivers/media/common/siano/smscoreapi.c')
-rw-r--r-- | drivers/media/common/siano/smscoreapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/common/siano/smscoreapi.c b/drivers/media/common/siano/smscoreapi.c index a142f7942a01..050984c5b1e3 100644 --- a/drivers/media/common/siano/smscoreapi.c +++ b/drivers/media/common/siano/smscoreapi.c | |||
@@ -922,8 +922,8 @@ static int smscore_load_firmware_family2(struct smscore_device_t *coredev, | |||
922 | u32 i, *ptr; | 922 | u32 i, *ptr; |
923 | u8 *payload = firmware->payload; | 923 | u8 *payload = firmware->payload; |
924 | int rc = 0; | 924 | int rc = 0; |
925 | firmware->start_address = le32_to_cpu(firmware->start_address); | 925 | firmware->start_address = le32_to_cpup((__le32 *)&firmware->start_address); |
926 | firmware->length = le32_to_cpu(firmware->length); | 926 | firmware->length = le32_to_cpup((__le32 *)&firmware->length); |
927 | 927 | ||
928 | mem_address = firmware->start_address; | 928 | mem_address = firmware->start_address; |
929 | 929 | ||
@@ -982,7 +982,7 @@ static int smscore_load_firmware_family2(struct smscore_device_t *coredev, | |||
982 | if (rc < 0) | 982 | if (rc < 0) |
983 | goto exit_fw_download; | 983 | goto exit_fw_download; |
984 | 984 | ||
985 | sms_err("sending MSG_SMS_DATA_VALIDITY_REQ expecting 0x%x", | 985 | sms_debug("sending MSG_SMS_DATA_VALIDITY_REQ expecting 0x%x", |
986 | calc_checksum); | 986 | calc_checksum); |
987 | SMS_INIT_MSG(&msg->x_msg_header, MSG_SMS_DATA_VALIDITY_REQ, | 987 | SMS_INIT_MSG(&msg->x_msg_header, MSG_SMS_DATA_VALIDITY_REQ, |
988 | sizeof(msg->x_msg_header) + | 988 | sizeof(msg->x_msg_header) + |
@@ -1562,7 +1562,7 @@ void smscore_onresponse(struct smscore_device_t *coredev, | |||
1562 | { | 1562 | { |
1563 | struct sms_msg_data *validity = (struct sms_msg_data *) phdr; | 1563 | struct sms_msg_data *validity = (struct sms_msg_data *) phdr; |
1564 | 1564 | ||
1565 | sms_err("MSG_SMS_DATA_VALIDITY_RES, checksum = 0x%x", | 1565 | sms_debug("MSG_SMS_DATA_VALIDITY_RES, checksum = 0x%x", |
1566 | validity->msg_data[0]); | 1566 | validity->msg_data[0]); |
1567 | complete(&coredev->data_validity_done); | 1567 | complete(&coredev->data_validity_done); |
1568 | break; | 1568 | break; |