Skip to content

Commit d798858

Browse files
hoshinolinajannau
authored andcommitted
media: apple: isp: Add a missing read barrier (possibly?)
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 0a3bc08 commit d798858

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/media/platform/apple/isp/isp-ipc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ int ipc_chan_handle(struct apple_isp *isp, struct isp_channel *chan)
157157

158158
static inline bool chan_tx_done(struct apple_isp *isp, struct isp_channel *chan)
159159
{
160+
dma_rmb();
161+
160162
chan_read_msg(isp, chan, &chan->rsp);
161163
if ((chan->rsp.arg0) == (chan->req.arg0 | ISP_IPC_FLAG_ACK)) {
162164
chan_update_cursor(chan);

0 commit comments

Comments
 (0)