crypto: qat - remove cast for mailbox CSR
Remove cast for mailbox CSR in adf_admin.c as it is not needed. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Adam Guerin <adam.guerin@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
6569e3097f
commit
ec3c5b32fc
|
@ -254,7 +254,7 @@ int adf_init_admin_comms(struct adf_accel_dev *accel_dev)
|
||||||
hw_data->get_admin_info(&admin_csrs_info);
|
hw_data->get_admin_info(&admin_csrs_info);
|
||||||
|
|
||||||
mailbox_offset = admin_csrs_info.mailbox_offset;
|
mailbox_offset = admin_csrs_info.mailbox_offset;
|
||||||
mailbox = (void __iomem *)((uintptr_t)csr + mailbox_offset);
|
mailbox = csr + mailbox_offset;
|
||||||
adminmsg_u = admin_csrs_info.admin_msg_ur;
|
adminmsg_u = admin_csrs_info.admin_msg_ur;
|
||||||
adminmsg_l = admin_csrs_info.admin_msg_lr;
|
adminmsg_l = admin_csrs_info.admin_msg_lr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue