summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLuwei Zhou <b45643@freescale.com>2013-11-11 16:03:59 +0800
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 08:47:10 -0500
commitc3147e75b1f1224f1a571e9696fded6dac5debb9 (patch)
treeb2e4931e14e37f73f3655aa6287136b7e41abd33 /include/uapi
parentfc21f57b6ee7da45c7cc0a46710483a9ce3f60b1 (diff)
ENGR00287256 mxc: mlb: Fix the SYNC mode hang issue when connected with MITB
This patch fixes the hang and crash issue of MLB SYNC mode in the driver. The MITB will casue Sabreauto to hang and crash when testing the SYNC mode. It is because MITB will cause something error on MLB bus when stopping the SYNC test. The Sabreauto will keep entering error ISR and hang. Since we don't know the details about MITB, we make drivers provide IO_CTRL interface to disable the interrupt in SYNC mode. Signed-off-by: Luwei Zhou <b45643@freescale.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/mxc_mlb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/mxc_mlb.h b/include/uapi/linux/mxc_mlb.h
index 90c94daf8e9c..20ba5240ea51 100644
--- a/include/uapi/linux/mxc_mlb.h
+++ b/include/uapi/linux/mxc_mlb.h
@@ -34,6 +34,8 @@
#define MLB_SET_ISOC_BLKSIZE_188 _IO('S', 0x17)
#define MLB_SET_ISOC_BLKSIZE_196 _IO('S', 0x18)
#define MLB_SET_SYNC_QUAD _IOW('S', 0x19, unsigned int)
+#define MLB_IRQ_ENABLE _IO('S', 0x20)
+#define MLB_IRQ_DISABLE _IO('S', 0x21)
/*!
* MLB event define