[media] tw686x-kh: use the cached value
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 Apr 2016 16:39:20 +0000 (13:39 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 Apr 2016 16:40:07 +0000 (13:40 -0300)
commit13431509a41889a70cc76b31180f63fd10d0a5b3
tree775d71912dbc7d6b44a876e5b10b523775f35ff9
parent704a84ccdbf19fdce9adfda0b936dfdcac52fa49
[media] tw686x-kh: use the cached value

the dma_requests field is cached, but cache is not used:

drivers/staging/media/tw686x-kh/tw686x-kh-video.c: In function 'tw686x_video_irq':
drivers/staging/media/tw686x-kh/tw686x-kh-video.c:622:6: warning: variable 'requests' set but not used [-Wunused-but-set-variable]
  u32 requests;
      ^

Use the cache instead, as it seems reading it needs to be done
with spin lock taken.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/tw686x-kh/tw686x-kh-video.c