Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Apr 2016 01:13:03 +0000 (09:13 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Apr 2016 01:13:03 +0000 (09:13 +0800)
Merge the crypto tree to pull in the qat adf_init_pf_wq change.

1  2 
drivers/crypto/qat/qat_common/adf_common_drv.h
drivers/crypto/qat/qat_common/adf_ctl_drv.c
drivers/crypto/qat/qat_common/adf_sriov.c
drivers/crypto/talitos.c

index 557ea361d385cb19cc071ff5d6fc68b63d09b2e1,155510277c5490ad6af0f864d7013d33703abb02..ff0b37bed8c130b115ec9d6f5f2b25e8718edec3
@@@ -144,8 -144,8 +144,10 @@@ void adf_disable_aer(struct adf_accel_d
  void adf_dev_restore(struct adf_accel_dev *accel_dev);
  int adf_init_aer(void);
  void adf_exit_aer(void);
 +int adf_init_vf_wq(void);
 +void adf_exit_vf_wq(void);
+ int adf_init_pf_wq(void);
+ void adf_exit_pf_wq(void);
  int adf_init_admin_comms(struct adf_accel_dev *accel_dev);
  void adf_exit_admin_comms(struct adf_accel_dev *accel_dev);
  int adf_send_admin_init(struct adf_accel_dev *accel_dev);
index 116ddda75e27e75e36466524e45a72bb14cc348d,3c3f948290ca057c29edc1297f731abe3b9ebc63..db21b499cc1d769737261fd2f6dd16d0e34549d6
@@@ -471,17 -462,17 +471,22 @@@ static int __init adf_register_ctl_devi
        if (adf_init_aer())
                goto err_aer;
  
+       if (adf_init_pf_wq())
+               goto err_pf_wq;
 +      if (adf_init_vf_wq())
 +              goto err_vf_wq;
 +
        if (qat_crypto_register())
                goto err_crypto_register;
  
        return 0;
  
  err_crypto_register:
 +      adf_exit_vf_wq();
 +err_vf_wq:
+       adf_exit_pf_wq();
+ err_pf_wq:
        adf_exit_aer();
  err_aer:
        adf_chr_drv_destroy();
@@@ -494,7 -485,7 +499,8 @@@ static void __exit adf_unregister_ctl_d
  {
        adf_chr_drv_destroy();
        adf_exit_aer();
 +      adf_exit_vf_wq();
+       adf_exit_pf_wq();
        qat_crypto_unregister();
        adf_clean_vf_map(false);
        mutex_destroy(&adf_ctl_lock);
Simple merge