The firmware does need for endianness conversio.+ if (ret < 0) {No need for endianness conversion here ?
>+ dev_err(dp->dev, "failed to request firmware %d\n", ret);
>+ return ret;
>+ }
>+
>+ hdr = (struct cdn_firmware_header *)fw->data;
>+ if (fw->size != le32_to_cpu(hdr->size_bytes))
>+ return -EINVAL;
>+
>+ ret = cdn_dp_clk_enable(dp);
>+ if (ret < 0) {
>+ dev_err(dp->dev, "cannot enable dp clk %d\n", ret);
>+ return ret;
>+ }
>+
>+ dp_clock_reset_seq(dp);
>+
>+ iram_data = (const u32 *)(fw->data + hdr->header_size);
>+ dram_data = (const u32 *)(fw->data + hdr->header_size + hdr->iram_size);