]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/sd/sdcard: Rewrite sd_cmd_ALL_SEND_CID using switch case (CMD2)
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 17 Jun 2024 14:58:29 +0000 (16:58 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 24 Jun 2024 08:41:42 +0000 (10:41 +0200)
commitd00e614f61e1a90ee905e783d3363752e63df8c0
tree76a1858618ef04cd26af0549bb9ff21f445e5384
parent8d380565adf45fa456832d7e2cbbf7be359ebbd8
hw/sd/sdcard: Rewrite sd_cmd_ALL_SEND_CID using switch case (CMD2)

Keep this handler style in sync with other handlers by
using a switch() case, which might become handy to
handle other states.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240621080554.18986-3-philmd@linaro.org>
hw/sd/sd.c