Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn Webb
Fwupd
Commits
ed4ca92e
Commit
ed4ca92e
authored
Feb 23, 2021
by
Richard Hughes
Browse files
synaptics-rmi: Read the PDT by calling the correct setup function
parent
61e4ff76
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/synaptics-rmi/fu-synaptics-rmi-ps2-device.c
View file @
ed4ca92e
...
...
@@ -861,12 +861,10 @@ fu_synaptics_rmi_ps2_device_detach (FuDevice *device, GError **error)
static
gboolean
fu_synaptics_rmi_ps2_device_setup
(
FuDevice
*
device
,
GError
**
error
)
{
FuSynapticsRmiDevice
*
rmi_device
=
FU_SYNAPTICS_RMI_DEVICE
(
device
);
/* we can only scan the PDT in serio_raw mode */
if
(
fu_device_has_flag
(
device
,
FWUPD_DEVICE_FLAG_IS_BOOTLOADER
))
return
fu_synaptics_rmi_v5_device_setup
(
rmi_device
,
error
)
;
return
TRUE
;
if
(
!
fu_device_has_flag
(
device
,
FWUPD_DEVICE_FLAG_IS_BOOTLOADER
))
return
TRUE
;
return
FU_DEVICE_CLASS
(
fu_synaptics_rmi_ps2_device_parent_class
)
->
setup
(
device
,
error
)
;
}
static
gboolean
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment