diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2019-11-23 22:30:41 -0500 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-24 14:48:02 -0800 |
commit | 2e882468fce263afef4a77ea4fe40808baaddae7 (patch) | |
tree | 4da4d648b95e34fc0026dd098a6710dd5897da61 /drivers/pcmcia/pxa2xx_cm_x255.c | |
parent | bnxt_en: Do driver unregister cleanup in bnxt_init_one() failure path. (diff) | |
download | linux-dev-2e882468fce263afef4a77ea4fe40808baaddae7.tar.xz linux-dev-2e882468fce263afef4a77ea4fe40808baaddae7.zip |
bnxt_en: Combine 2 functions calling the same HWRM_DRV_RGTR fw command.
Everytime driver registers with firmware, driver is required to
register for async event notifications as well. These 2 calls
are done using the same firmware command and can be combined.
We are also missing the 2nd step to register for async events
in the suspend/resume path and this will fix it. Prior to this,
we were getting only default notifications.
ULP can register for additional async events for the RDMA driver,
so we add a parameter to the new function to only do step 2 when
it is called from ULP.
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_cm_x255.c')
0 files changed, 0 insertions, 0 deletions