kernel/drivers/memory/brcmstb_dpfe.c
.. .. @@ -434,15 +434,17 @@ 434 434 static int __send_command(struct brcmstb_dpfe_priv *priv, unsigned int cmd, 435 435 u32 result[]) 436 436 { 437 - const u32 *msg = priv->dpfe_api->command[cmd];438 437 void __iomem *regs = priv->regs; 439 438 unsigned int i, chksum, chksum_idx; 439 + const u32 *msg;440 440 int ret = 0; 441 441 u32 resp; 442 442 443 443 if (cmd >= DPFE_CMD_MAX) 444 444 return -1; 445 445 446 + msg = priv->dpfe_api->command[cmd];447 +446 448 mutex_lock(&priv->lock); 447 449 448 450 /* Wait for DCPU to become ready */