" Vim syntax file " Language: Berkeley Packet Filter " Maintainer: Daniel Borkmann " Latest Revision: 08/16/2011 " " In order to make syntax highlighting for BPFs work in vim, copy this file " to ~/.vim/syntax/ and activate it in vim by entering: " " :set syntax=bpf " " If you want to automatically load the BPF syntax highlighting for *.bpf " files create the ~/.vim/filetype.vim with the following content: " " my filetype file " if exists("did_load_filetypes") " finish " endif " " augroup filetypedetect " au! BufRead,BufNewFile *.bpf setfiletype bpf " augroup END " if exists("b:current_syntax") finish endif syn keyword bpfTodo contained TODO FIXME XXX NOTE syn keyword bpfKeywords ldb ldh ld ldi ldx ldxi ldxb st stx jmp ja jeq jneq jne skipwhite syn keyword bpfKeywords jlt jle jgt jge jset add sub mul div mod neg and or xor skipwhite syn keyword bpfKeywords lsh rsh ret tax txa skipwhite syn match bpfLabel /[a-zA-Z0-9_]\+/ syn match bpfSpChar /[:,#\[\]\(\)+*&]\?/ contains=bpfNumber,bpfLabel syn match bpfNumber /\(0[xX]\x\+\|\d\+\)/ syn match bpfComment ";.*$" contains=bpfTodo hi def link bpfTodo Todo hi def link bpfComment Comment hi def link bpfKeywords Keyword hi def link bpfLabel Type hi def link bpfNumber Number hi def link bpfSpChar Special let b:current_syntax = "bpf" ump-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-03-28 10:47:34 +0100
committerMark Brown <broonie@kernel.org>2016-03-29 10:04:57 -0700
commit33362c69c8e68281633a7c3a1d5c840e940097b7 (patch)
tree94b1209b78f06b0383f5abab1c2f2a33f36a8022
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
ASoC: wm8962: Correct typo when setting DSPCLK rate
The variable dspclk holds the rate of the DSPCLK, but the variable sysclk holds an identifier for the clock. Currently if read a non-sensical value from the DSPCLK_DIV register we assign sysclk to dspclk, clearly this was intended to be sysclk_rate. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat