]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btintel: Refactor btintel_set_ppag()
authorKiran K <kiran.k@intel.com>
Thu, 16 May 2024 12:24:36 +0000 (17:54 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 01:33:26 +0000 (21:33 -0400)
commit0a3e2eca1daa5627c8ecd1554e3146de82d61dd2
tree8bd65174475fe100d63314e26e3e18b4e0119829
parent0d0df1e750bac0fdaa77940e711c1625cff08d33
Bluetooth: btintel: Refactor btintel_set_ppag()

Current flow iterates the ACPI table associated with Bluetooth
controller looking for PPAG method. Method name can be directly passed
to acpi_evaluate_object function instead of iterating the table.

Fixes: c585a92b2f9c ("Bluetooth: btintel: Set Per Platform Antenna Gain(PPAG)")
Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel.c