[PATCH for-next 0/2] Fixes to amd_sfh driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes includes to handle "no sensors" case and fix of implicit
declaration error on i386.

Link: https://lore.kernel.org/all/92ed10f9-2c84-ad42-20d1-f8a101f78f08@xxxxxxxxxxxxx/
'''
From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Changes since 20220721:

on i386:

../drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c: In function ‘amd_stop_sensor’:
../drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c:48:9: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Werror=implicit-function-declaration]
   48 |         writeq(0x0, privdata->mmio + AMD_C2P_MSG(1));
      |         ^~~~~~
      |         writel
'''

Basavaraj Natikar (2):
  HID: amd_sfh: Fix implicit declaration error on i386
  HID: amd_sfh: Handle condition of "no sensors"

 drivers/hid/amd-sfh-hid/amd_sfh_client.c           | 2 ++
 drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.c | 2 ++
 2 files changed, 4 insertions(+)

-- 
2.25.1




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux