firmware: xilinx: always check API version for IOCTL/QUERY
authorRonak Jain <ronak.jain@xilinx.com>
Wed, 6 Apr 2022 10:55:25 +0000 (03:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 15:20:03 +0000 (17:20 +0200)
commit218f01a80aea0ec5eeacda243ea5e06cbc9be654
tree8247efab3c9cc71bccef7817e51503f4cc715444
parent94ae7f22265e795b4351c7a51a34c4b11dec9952
firmware: xilinx: always check API version for IOCTL/QUERY

Currently, we are not checking feature check version for PM APIs as
the support may or may not there in the firmware. To check the whether
the feature check API is supported or not in the firmware, allow
checking for its own version.

Signed-off-by: Ronak Jain <ronak.jain@xilinx.com>
Link: https://lore.kernel.org/r/1649242526-17493-4-git-send-email-ronak.jain@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/xilinx/zynqmp.c