]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use POSTING_READ in lcpll code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Aug 2013 21:38:08 +0000 (23:38 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Aug 2013 12:52:36 +0000 (14:52 +0200)
commit5915d4239f98ee70b04e94de74e480d5e3a44d53
tree690ec34175ddf88ac877e42688bc2c3c12f85e71
parent00a03dbe202fe79cc27f71fe2c53e5c3da722177
drm/i915: Use POSTING_READ in lcpll code

If we don't use the return value of a mmio read our coding style is to
use the POSTING_READ macro. This avoids cluttering the mmio traces.

While at it add the missing posting read in the lcpll enable function
that Paulo spotted.

v2: Drop the _NOTRACE changes, tracing such wait_for loops in the modeset
code might actually be rather useful!

Cc: Paulo Zanoni <przanoni@gmail.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c