summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-02-02 17:27:43 +0300
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2018-02-05 15:22:44 +0300
commit4beb3b40ae7f994af01200323441df13f8f5b241 (patch)
tree4d9aa86bf9990ee9a1a5cd596d1b6501678df7f1 /sound
parentbc4fde30e5906a047848339a8eddcc4e7277abc3 (diff)
downloadlinux-4beb3b40ae7f994af01200323441df13f8f5b241.tar.xz
drm/crc: Add support for polling on the data fd.
This will make it possible for userspace to know whether reading will block, without blocking on the fd. This makes it possible to drain all queued CRC's in blocking mode, without having to reopen the fd. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180202142743.68527-1-maarten.lankhorst@linux.intel.com Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> [mlankhorst: Use POLLIN|POLLRDNORM, based on Ville's suggestion]
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions