summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2016-11-22 19:22:09 +0100
committerAlan Tull <atull@opensource.altera.com>2016-11-29 22:51:49 +0100
commit1d7f1589d341344c0c598b00de44891a7968c6a0 (patch)
treef1fd0d74131222096b584ebe16a11a9c0e476d34 /drivers/w1
parentfpga zynq: Fix incorrect ISR state on bootup (diff)
downloadlinux-1d7f1589d341344c0c598b00de44891a7968c6a0.tar.xz
linux-1d7f1589d341344c0c598b00de44891a7968c6a0.zip
fpga: Clarify how write_init works streaming modes
This interface was designed for streaming, but write_init's buf argument has an unclear purpose. Define it to be the first bytes of the bitstream. Each driver gets to set how many bytes (at most) it wants to see. Short bitstreams will be passed through as-is, while long ones will be truncated. The intent is to allow drivers to peek at the header before the transfer actually starts. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Acked-by: Alan Tull <atull@opensource.altera.com>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions