On Wed, Aug 07, 2019 at 02:40:21PM -0500, David Lechner wrote:
> +static struct counter_synapse ti_eqep_position_synapses[] = {
> +     {
> +             .action         = TI_EQEP_SYNAPSE_ACTION_BOTH_EDGES,
> +             .actions_list   = ti_eqep_position_synapse_actions,
> +             .num_actions    = ARRAY_SIZE(ti_eqep_position_synapse_actions),
> +             .signal         = &ti_eqep_signals[TI_EQEP_SIGNAL_QEPA],
> +     },
> +     {
> +             .action         = TI_EQEP_SYNAPSE_ACTION_BOTH_EDGES,
> +             .actions_list   = ti_eqep_position_synapse_actions,
> +             .num_actions    = ARRAY_SIZE(ti_eqep_position_synapse_actions),
> +             .signal         = &ti_eqep_signals[TI_EQEP_SIGNAL_QEPB],
> +     },
> +};

Hi David,

Just a minor suggestion for your v3: you don't need to initialize
"action" here since it'll be automatically updated in the core
counter_action_show function to the value returned by your action_get
callback function. So you can safely delete those two ".action =" lines.

William Breathitt Gray

Reply via email to