mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 07:19:24 +07:00
at86rf230: fix context pointer handling
This patch changes the context pointer to the parameter given one inside function at86rf230_async_state_change_start. This could occur problem if context isn't pointed to lp->state. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
fc50c6e36d
commit
4fef7d3b01
@ -654,7 +654,7 @@ at86rf230_async_state_change_start(void *context)
|
||||
if (ctx->irq_enable)
|
||||
enable_irq(lp->spi->irq);
|
||||
|
||||
at86rf230_async_error(lp, &lp->state, rc);
|
||||
at86rf230_async_error(lp, ctx, rc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user