[PATCH v3 2/2] i2c: i2c-amd-mp2: Remove unused macro

2021-02-01 Thread Richard Neumann
Remove unused work_amd_i2c_common() macro. Signed-off-by: Richard Neumann Reviewed-by: Andy Shevchenko --- drivers/i2c/busses/i2c-amd-mp2.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-amd-mp2.h b/drivers/i2c/busses/i2c-amd-mp2.h index 6b91e285745d..ddecd0c88656

[PATCH v3 0/2] i2c: i2c-amd-mp2: Clean up driver

2021-02-01 Thread Richard Neumann
ce v2: * Remove duplicate local pointer to pci_dev. Richard Neumann (2): i2c: i2c-amd-mp2: Remove NIH logging functions i2c: i2c-amd-mp2: Remove unused macro drivers/i2c/busses/i2c-amd-mp2-pci.c | 55 +++ drivers/i2c/busses/i2c-amd-mp2-plat.c | 3 +- drivers/i2c/b

[PATCH v3 1/2] i2c: i2c-amd-mp2: Remove NIH logging functions

2021-02-01 Thread Richard Neumann
Use pci_{info,warn,err,dbg} functions of the kernel's PCI API. Remove unnecessary ndev_pdev(), ndev_name() and ndev_dev() macros. While at it, remove useless __func__ from logging. Signed-off-by: Richard Neumann Reviewed-by: Andy Shevchenko --- drivers/i2c/busses/i2c-amd-mp2-pci.c

Re: [PATCH v9 7/8] Refactored platform driver

2021-01-23 Thread Richard Neumann
://bugzilla.kernel.org/show_bug.cgi?id=199715 Am Samstag, dem 23.01.2021 um 14:47 +0100 schrieb m...@richard-neumann.de: > From: Richard Neumann > > Refactored the AMD SFH platform driver to initialize the HIDs with > additional meta data, such as the sensor name, HUB name and bus type. >

Re: [PATCH v8 2/4] SFH: PCIe driver to add support of AMD sensor fusion hub

2020-10-22 Thread Richard Neumann
Hi all, on a quick glance, I noticed, that the sensor masks (*_EN) are no longer derived from their indices: amd_sfh_pcie.h: enum sensor_idx { accel_idx = 0, gyro_idx = 1, mag_idx = 2, als_idx = 19 }; amd_sfh_pcie.c: #define ACEL_EN BIT(

Re: [PATCH v5 0/4] SFH: Add Support for AMD Sensor Fusion Hub

2020-07-28 Thread Richard Neumann
Hi, Am Dienstag, den 28.07.2020, 16:58 +0200 schrieb Marco Felsch: > Hi, > > On 20-05-29 17:21, Andy Shevchenko wrote: > > On Fri, May 29, 2020 at 4:42 PM Sandeep Singh < > > sandeep.si...@amd.com> wrote: > > > From: Sandeep Singh > > > > > > AMD SFH(Sensor Fusion Hub) is HID based driver.SFH F