|
@@ -453,7 +453,7 @@ static void scpi_tx_prepare(struct mbox_client *c, void *msg)
|
|
unsigned long flags;
|
|
unsigned long flags;
|
|
struct scpi_xfer *t = msg;
|
|
struct scpi_xfer *t = msg;
|
|
struct scpi_chan *ch = container_of(c, struct scpi_chan, cl);
|
|
struct scpi_chan *ch = container_of(c, struct scpi_chan, cl);
|
|
- struct scpi_shared_mem *mem = (struct scpi_shared_mem *)ch->tx_payload;
|
|
|
|
|
|
+ struct scpi_shared_mem *mem = ch->tx_payload;
|
|
|
|
|
|
if (t->tx_buf) {
|
|
if (t->tx_buf) {
|
|
if (scpi_info->is_legacy)
|
|
if (scpi_info->is_legacy)
|