diff options
author | Mark Brown <broonie@kernel.org> | 2025-05-20 10:34:09 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-20 10:34:09 +0100 |
commit | 831962e9d7b774d858cfeefc3848e06a2d5599df (patch) | |
tree | c66522409bd3913a89a7ac3d37459d6bb78ee8b8 /io_uring/uring_cmd.c | |
parent | e4dca67b2463e6abe775876c9cb049ea5b1c8e0d (diff) | |
parent | 5b5bf5922f4c104e4e829c0dbfdd9399b7cfc434 (diff) |
Add sound card support for QCS9100 and QCS9075
Merge series from Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>:
This patchset adds support for sound card on Qualcomm QCS9100 and
QCS9075 boards.
Diffstat (limited to 'io_uring/uring_cmd.c')
-rw-r--r-- | io_uring/uring_cmd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/io_uring/uring_cmd.c b/io_uring/uring_cmd.c index a9ea7d29cdd9..430ed620ddfe 100644 --- a/io_uring/uring_cmd.c +++ b/io_uring/uring_cmd.c @@ -254,6 +254,11 @@ int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags) return -EOPNOTSUPP; issue_flags |= IO_URING_F_IOPOLL; req->iopoll_completed = 0; + if (ctx->flags & IORING_SETUP_HYBRID_IOPOLL) { + /* make sure every req only blocks once */ + req->flags &= ~REQ_F_IOPOLL_STATE; + req->iopoll_start = ktime_get_ns(); + } } ret = file->f_op->uring_cmd(ioucmd, issue_flags); |