Skip to content

Commit

Permalink
media: apple: isp: Add a missing read barrier (possibly?)
Browse files Browse the repository at this point in the history
Signed-off-by: Asahi Lina <lina@asahilina.net>
  • Loading branch information
asahilina authored and jannau committed Nov 19, 2024
1 parent a6472f8 commit d82e83d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/platform/apple/isp/isp-ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ int ipc_chan_handle(struct apple_isp *isp, struct isp_channel *chan)

static inline bool chan_tx_done(struct apple_isp *isp, struct isp_channel *chan)
{
dma_rmb();

chan_read_msg(isp, chan, &chan->rsp);
if ((chan->rsp.arg0) == (chan->req.arg0 | ISP_IPC_FLAG_ACK)) {
chan_update_cursor(chan);
Expand Down

0 comments on commit d82e83d

Please sign in to comment.