diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2023-04-18 09:24:54 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-24 22:56:55 -0400 |
commit | 91208dd297f2686b778210ffda49acbfe36bd3b6 (patch) | |
tree | 3d8657283b6e3b442b7f25dcbccca14e5ca064b4 /hw/ipack | |
parent | 2a3f8b333b6efbc0ccaacb318fb9c9d53f25bcfd (diff) |
virtio: i2c: Check notifier helpers for VIRTIO_CONFIG_IRQ_IDX
Since the driver doesn't support interrupts, we must return early when
index is set to VIRTIO_CONFIG_IRQ_IDX.
Fixes: 544f0278afca ("virtio: introduce macro VIRTIO_CONFIG_IRQ_IDX")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Message-Id: <d53ec8bc002001eafac597f6bd9a8812df989257.1681790067.git.viresh.kumar@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ipack')
0 files changed, 0 insertions, 0 deletions