From: Hayes Wang <hayesw...@realtek.com> Date: Fri, 11 Nov 2016 15:15:41 +0800
> For some platforms, the data in memory is not the same with the one > from the device. That is, the data of memory is unbelievable. The > check is used to find out this situation. > > Signed-off-by: Hayes Wang <hayesw...@realtek.com> I'm all for adding consistency checks, but I disagree with proceeding in this manner for this. If you add this patch now, there is a much smaller likelyhood that you will work with a high priority to figure out _why_ this is happening. For all we know this could be a platform bug in the DMA API for the systems in question. It could also be a bug elsewhere in the driver, either in setting up the descriptor DMA mappings or how the chip is programmed. Either way the true cause must be found before we start throwing changes like this into the driver. I'm not applying this series, sorry. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html