/********************************************************************* * * Filename: crc.h * Version: * Description: CRC routines * Status: Experimental. * Author: Dag Brattli * Created at: Mon Aug 4 20:40:53 1997 * Modified at: Sun May 2 20:25:23 1999 * Modified by: Dag Brattli * ********************************************************************/ #ifndef IRDA_CRC_H #define IRDA_CRC_H #include #include #define INIT_FCS 0xffff /* Initial FCS value */ #define GOOD_FCS 0xf0b8 /* Good final FCS value */ /* Recompute the FCS with one more character appended. */ #define irda_fcs(fcs, c) crc_ccitt_byte(fcs, c) /* Recompute the FCS with len bytes appended. */ #define irda_calc_crc16(fcs, buf, len) crc_ccitt(fcs, buf, len) #endif td class='form'>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-04-23 22:10:48 +0200
committerArnd Bergmann <arnd@arndb.de>2016-04-23 22:10:48 +0200
commit92f27f98ceb2d457c97cb032349bbf2f776420d0 (patch)
tree92c0e2b170ba4d1c001273631726111b2ab4f31a
parent56896ef5b990a3822da45f92e548c4c8ac301bb4 (diff)
parent10c0f0e92f019ab8d0c17da3696e35b0eef4ec16 (diff)
Merge tag 'qcom-fixes-for-4.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into fixes
Merge "Qualcomm Fixes for v4.6-rc2" from Andy Gross: * Revert BAM usage on MSM8974 boards * tag 'qcom-fixes-for-4.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: Revert "dts: msm8974: Add dma channels for blsp2_i2c1 node" Revert "dts: msm8974: Add blsp2_bam dma node"