aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2022-06-03 14:39:37 +0200
committerMark Brown <[email protected]>2022-06-06 12:31:27 +0100
commit8259610c2ec01c5cbfb61882ae176aabacac9c19 (patch)
tree6747990319526f59317d3b154e211f9e4cf0b4c0 /include/linux/fpga/fpga-mgr.h
parentd1f5272c0f7d2e53c6f2480f46725442776f5f78 (diff)
ASoC: es8328: Fix event generation for deemphasis control
Currently the put() method for the deemphasis control returns 0 when a new value is written to the control even if the value changed, meaning events are not generated. Fix this, skip the work of updating the value when it is unchanged and then return 1 after having done so. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions