drm/nouveau/ibus/gk20a: use udelay() in interrupt context
authorAlexandre Courbot <gnurou@gmail.com>
Wed, 6 Jul 2016 14:04:56 +0000 (23:04 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 12 Oct 2016 07:29:02 +0000 (17:29 +1000)
commit69b624983f94f2a877449c1e6c34f21c97440f25
tree4424811983987314ae2d1791174dde7843dbb79a
parent69405d3da98b48633b78a49403e4f9cdb7c6a0f5
drm/nouveau/ibus/gk20a: use udelay() in interrupt context

gk20a_ibus_init_ibus_ring() can be called from gk20a_ibus_intr(), in
non-interruptible context. Replace use of usleep_range() with udelay().

Reported-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk20a.c