diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-01-07 10:45:35 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-01-08 10:45:24 +0100 |
commit | 2bc68fd0e11380bcfa5002c144ed51f73c231e43 (patch) | |
tree | 296b02c18cf82366e55d2e4042f86f7783d3e82f /arch/arm/mach-bcm283x | |
parent | 69f8b20cc016dc3680d5acc20f43a3e52c0bff7e (diff) | |
download | barebox-2bc68fd0e11380bcfa5002c144ed51f73c231e43.tar.gz barebox-2bc68fd0e11380bcfa5002c144ed51f73c231e43.tar.xz |
ARM: bcm2835 mbox: Remove response valid check
Not all messages return a valid response as they do not send a response
at all. This is at least true for the SET_GPIO_STATE and SET_GPIO_CONFIG
messages.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-bcm283x')
-rw-r--r-- | arch/arm/mach-bcm283x/mbox.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-bcm283x/mbox.c b/arch/arm/mach-bcm283x/mbox.c index b295993359..4405efaffd 100644 --- a/arch/arm/mach-bcm283x/mbox.c +++ b/arch/arm/mach-bcm283x/mbox.c @@ -137,11 +137,6 @@ int bcm2835_mbox_call_prop(u32 chan, struct bcm2835_mbox_hdr *buffer) tag = (void *)(buffer + 1); tag_index = 0; while (tag->tag) { - if (!(tag->val_len & BCM2835_MBOX_TAG_VAL_LEN_RESPONSE)) { - printf("mbox: Tag %d missing val_len response bit\n", - tag_index); - return -EIO; - } /* * Clear the reponse bit so clients can just look right at the * length field without extra processing |