Re: [PATCH 1/4] virtio-input: generalize virtio_input_key_config()

2023-02-19 Thread Marc-André Lureau
On Sat, Feb 18, 2023 at 8:23 PM Sergio Lopez wrote: > > As there are other bitmap-based config properties that need to be dealt in a > similar fashion as VIRTIO_INPUT_CFG_EV_BITS, generalize the function to > receive select and subsel as arguments, and rename it to > virtio_input_extend_config() >

[PATCH 1/4] virtio-input: generalize virtio_input_key_config()

2023-02-18 Thread Sergio Lopez
As there are other bitmap-based config properties that need to be dealt in a similar fashion as VIRTIO_INPUT_CFG_EV_BITS, generalize the function to receive select and subsel as arguments, and rename it to virtio_input_extend_config() Signed-off-by: Sergio Lopez --- hw/input/virtio-input-hid.c |