diff options
author | Kiran AVND <avnd.kiran@samsung.com> | 2014-05-19 09:33:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-23 15:30:38 -0300 |
commit | 6a9c6f681257985468e4835bf9f911ec56482f02 (patch) | |
tree | a4a56ee741e6e4e77715f97e579620e36778af10 /kernel/profile.c | |
parent | 1c6f33acd31738c82985375e27043b71aa3229fb (diff) |
[media] s5p-mfc: Add variants to access mfc registers
This patch is needed in preparation to add MFC V8
where the register offsets are changed w.r.t MFC V6/V7.
This patch adds variants of MFC V6 and V7 while
accessing MFC registers. Registers are kept in mfc context
and are initialized to a particular MFC variant during probe,
which is used instead of macros.
This avoids duplication of the code for MFC variants
V6 & V7, and reduces the if_else checks while accessing
registers of different MFC variants.
Signed-off-by: Kiran AVND <avnd.kiran@samsung.com>
Signed-off-by: Pawel Osciak <posciak@chromium.org>
Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions